version 1.212, 2012/10/06 20:44:04 |
version 1.235, 2017/07/11 11:52:42 |
|
|
# $NetBSD$ |
# $NetBSD$ |
|
|
.include "Makefile.common" |
.include "Makefile.common" |
.include "options.mk" |
|
|
|
CATEGORIES= devel |
PKGREVISION= 1 |
|
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 28 FILES_SUBST+= GLIB_SCHEMAS_DIR=${PREFIX |
|
Line 28 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 43 LIBS.SunOS+= -lnsl -lsocket |
|
Line 43 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 |
|
.include "../../devel/libelf/buildlink3.mk" |
|
. endif |
|
.endif |
.endif |
|
|
.include "../../converters/libiconv/buildlink3.mk" |
.include "../../converters/libiconv/buildlink3.mk" |