Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.189 retrieving revision 1.209 diff -u -p -r1.189 -r1.209 --- pkgsrc/devel/glib2/Makefile 2011/11/26 21:32:43 1.189 +++ pkgsrc/devel/glib2/Makefile 2012/07/24 18:23:38 1.209 @@ -1,29 +1,23 @@ -# $NetBSD: Makefile,v 1.189 2011/11/26 21:32:43 jmmv Exp $ +# $NetBSD: Makefile,v 1.209 2012/07/24 18:23:38 drochner Exp $ .include "Makefile.common" .include "options.mk" -PKGREVISION= 3 - CATEGORIES= devel COMMENT= Some useful routines for C programming (glib2) USE_TOOLS+= msgfmt perl:run -PKGCONFIG_OVERRIDE= glib-2.0-uninstalled.pc.in PKGCONFIG_OVERRIDE+= glib-2.0.pc.in -PKGCONFIG_OVERRIDE+= gmodule-2.0-uninstalled.pc.in PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in PKGCONFIG_OVERRIDE+= gmodule-export-2.0.pc.in -PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0-uninstalled.pc.in PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0.pc.in -PKGCONFIG_OVERRIDE+= gobject-2.0-uninstalled.pc.in PKGCONFIG_OVERRIDE+= gobject-2.0.pc.in -PKGCONFIG_OVERRIDE+= gthread-2.0-uninstalled.pc.in PKGCONFIG_OVERRIDE+= gthread-2.0.pc.in PKGCONFIG_OVERRIDE+= gio-2.0.pc.in PKGCONFIG_OVERRIDE+= gio-unix-2.0.pc.in +PKGCONFIG_OVERRIDE+= gio-windows-2.0.pc.in FILES_SUBST+= GIO_MODULES_DIR=${PREFIX}/lib/gio/modules FILES_SUBST+= GIO_QUERYMODULES=${PREFIX}/bin/gio-querymodules @@ -34,6 +28,7 @@ FILES_SUBST+= GLIB_SCHEMAS_DIR=${PREFIX # agc doesn't want glib2 to depend on python so we install it # in a broken and useless state. CHECK_INTERPRETER_SKIP+= bin/gtester-report +CHECK_INTERPRETER_SKIP+= bin/gdbus-codegen # need pcre utf8 + unicode-properties BUILDLINK_API_DEPENDS.pcre+= pcre>=8.11 @@ -44,10 +39,25 @@ CONFIGURE_ARGS+= PCRE_LIBS="${COMPILER_R # needs gz_header structure BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1 -LIBS.SunOS+= -lnsl -lsocket +LIBS.SunOS+= -lnsl -lsocket +CPPFLAGS.SunOS+= -DBSD_COMP + +.if ${OBJECT_FMT} == "ELF" +. if ${OPSYS} == "SunOS" +. if ${ABI} == 32 +# 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 +# after configure disabled it. +CONFIGURE_ENV+= LIBELF_LIBS='-lelf' +. endif +. else +.include "../../devel/libelf/buildlink3.mk" +. endif +.endif .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" +.include "../../devel/libffi/buildlink3.mk" .include "../../mk/bsd.pkg.mk"