version 1.207, 2012/07/11 23:07:06 |
version 1.209, 2012/07/24 18:23:38 |
|
|
.include "Makefile.common" |
.include "Makefile.common" |
.include "options.mk" |
.include "options.mk" |
|
|
PKGREVISION= 1 |
|
|
|
CATEGORIES= devel |
CATEGORIES= devel |
|
|
COMMENT= Some useful routines for C programming (glib2) |
COMMENT= Some useful routines for C programming (glib2) |
Line 46 CPPFLAGS.SunOS+= -DBSD_COMP |
|
Line 44 CPPFLAGS.SunOS+= -DBSD_COMP |
|
|
|
.if ${OBJECT_FMT} == "ELF" |
.if ${OBJECT_FMT} == "ELF" |
. if ${OPSYS} == "SunOS" |
. if ${OPSYS} == "SunOS" |
. if ${MACHINE_ARCH} == "i386" |
. if ${ABI} == 32 |
# _ILP32 Solaris machines emit "Large files are not supported by libelf" from |
# Solaris libelf in 32-bit mode does not support largefile. We patch files |
# /usr/include/libelf when _FILE_OFFSET_BITS=64, the value configure will set by itself |
# individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf |
CONFIGURE_ARGS+= ac_cv_sys_file_offset_bits=32 |
# after configure disabled it. |
|
CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
. endif |
. endif |
. else |
. else |
.include "../../devel/libelf/buildlink3.mk" |
.include "../../devel/libelf/buildlink3.mk" |