--- - branch: MAIN date: Wed Jul 11 23:07:06 UTC 2012 files: - new: '1.207' old: '1.206' path: pkgsrc/devel/glib2/Makefile pathrev: pkgsrc/devel/glib2/Makefile@1.207 type: modified id: 20120711T230706Z.2215fe15f895dedd7b8ef9233de1813ff48d88f1 log: | devel/glib2: Fix 32-bit SunOS On a 32-bit OpenIndiana 151a machine, glib2 failed with the error: "large files are not supported by libelf". The glib2 makefile doesn't include libelf from pkgsrc, it uses the version with the header at /usr/include/libelf.h. Libelf will only support large files (64 bits) with 64-bit versions of SunOS. This change adds additional checks. When the Makefile determines that the package is building on a 32-bit SunOS, it will force the configure script to define _FILE_OFFSET_BITS as 32 which allows glib2 to build completely. No need to bump revision; it wouldn't have built on 32-bit SunOS before. module: pkgsrc subject: 'CVS commit: pkgsrc/devel/glib2' unixtime: '1342048026' user: marino