version 1.218, 2014/05/26 22:29:23 |
version 1.237, 2017/10/16 00:40:08 |
|
|
.include "Makefile.common" |
.include "Makefile.common" |
|
|
CATEGORIES= devel gnome |
CATEGORIES= devel gnome |
PKGREVISION= 1 |
|
|
|
COMMENT= Some useful routines for C programming (glib2) |
COMMENT= Some useful routines for C programming (glib2) |
|
|
Line 28 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 44 CPPFLAGS.SunOS+= -DBSD_COMP |
|
Line 43 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. |
Line 55 CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
|
Line 54 CONFIGURE_ENV+= LIBELF_LIBS='-lelf' |
|
. endif |
. endif |
.endif |
.endif |
|
|
|
# to run gdbus-codegen to generate gdbus-daemon-generated.{h,c} |
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
|
PYTHON_FOR_BUILD_ONLY?= yes |
|
.include "../../lang/python/pyversion.mk" |
|
|
.include "../../converters/libiconv/buildlink3.mk" |
.include "../../converters/libiconv/buildlink3.mk" |
.include "../../devel/gettext-lib/buildlink3.mk" |
.include "../../devel/gettext-lib/buildlink3.mk" |
.include "../../devel/pcre/buildlink3.mk" |
.include "../../devel/pcre/buildlink3.mk" |