version 1.215, 2013/05/31 22:53:23 |
version 1.234, 2017/07/03 18:47:29 |
Line 6 CATEGORIES= devel gnome |
|
Line 6 CATEGORIES= devel gnome |
|
|
|
COMMENT= Some useful routines for C programming (glib2) |
COMMENT= Some useful routines for C programming (glib2) |
|
|
USE_TOOLS+= msgfmt perl:run |
USE_TOOLS+= msgfmt perl:run readlink |
|
|
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in |
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in |
PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in |
PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in |
Line 27 FILES_SUBST+= GLIB_SCHEMAS_DIR=${PREFIX |
|
Line 27 FILES_SUBST+= GLIB_SCHEMAS_DIR=${PREFIX |
|
# agc doesn't want glib2 to depend on python so we install it |
# agc doesn't want glib2 to depend on python so we install it |
# in a broken and useless state. |
# in a broken and useless state. |
CHECK_INTERPRETER_SKIP+= bin/gtester-report |
CHECK_INTERPRETER_SKIP+= bin/gtester-report |
CHECK_INTERPRETER_SKIP+= bin/gdbus-codegen |
CHECK_WRKREF_SKIP+= bin/gtester-report |
|
|
# need pcre utf8 + unicode-properties |
# need pcre utf8 + unicode-properties |
BUILDLINK_API_DEPENDS.pcre+= pcre>=8.11 |
BUILDLINK_API_DEPENDS.pcre+= pcre>=8.31 |
# to avoid pkg-config dependency, explicitly specify pcre location |
# to avoid pkg-config dependency, explicitly specify pcre location |
CONFIGURE_ARGS+= PCRE_CFLAGS=-I${BUILDLINK_PREFIX.pcre}/include |
CONFIGURE_ARGS+= PCRE_CFLAGS=-I${BUILDLINK_PREFIX.pcre}/include |
CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre}/lib -L${BUILDLINK_PREFIX.pcre}/lib -lpcre" |
CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pcre}/lib -L${BUILDLINK_PREFIX.pcre}/lib -lpcre" |
Line 42 LIBS.SunOS+= -lnsl -lsocket |
|
Line 42 LIBS.SunOS+= -lnsl -lsocket |
|
CPPFLAGS.SunOS+= -DBSD_COMP |
CPPFLAGS.SunOS+= -DBSD_COMP |
|
|
.if ${OBJECT_FMT} == "ELF" |
.if ${OBJECT_FMT} == "ELF" |
. if ${OPSYS} == "SunOS" |
. if ${OPSYS} == "SunOS" |
. if ${ABI} == 32 |
. if empty(ABI:U:M64) |
# Solaris libelf in 32-bit mode does not support largefile. We patch files |
# Solaris libelf in 32-bit mode does not support largefile. We patch files |
# individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf |
# individually to force _FILE_OFFSET_BITS=32 but need to turn back on -lelf |
# after configure disabled it. |
# after configure disabled it. |
CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
|
. endif |
|
. else |
|
. include "../../devel/libelf/buildlink3.mk" |
. endif |
. endif |
. else |
.endif |
.include "../../devel/libelf/buildlink3.mk" |
|
. endif |
PLIST_VARS+= unix |
|
.include "../../mk/bsd.prefs.mk" |
|
.if ${OPSYS} != "Darwin" |
|
PLIST.unix= yes |
.endif |
.endif |
|
|
.include "../../converters/libiconv/buildlink3.mk" |
.include "../../converters/libiconv/buildlink3.mk" |