pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 Some cleanup.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e47e7f7befd
branches:  trunk
changeset: 550856:2e47e7f7befd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 01 13:25:47 2008 +0000

description:
Some cleanup.
Remove an ancient workaround for gcc2 on sparc64.

XXX: I don't get why options.mk is not included on HPUX and OSF1;
it could pull in the fam package like on other platforms, or just default
fam to off on those platforms if the fam package does not work on those
platforms.

diffstat:

 devel/glib2/Makefile   |  13 +++----------
 devel/glib2/options.mk |   8 +++++---
 2 files changed, 8 insertions(+), 13 deletions(-)

diffs (74 lines):

diff -r 557c6c76a829 -r 2e47e7f7befd devel/glib2/Makefile
--- a/devel/glib2/Makefile      Mon Dec 01 12:01:18 2008 +0000
+++ b/devel/glib2/Makefile      Mon Dec 01 13:25:47 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.149 2008/11/29 19:09:04 jmcneill Exp $
+# $NetBSD: Makefile,v 1.150 2008/12/01 13:25:47 wiz Exp $
 
 # When updating glib2, please apply patch-ak to configure.in
 # Then run a matching version of autoconf to regen patch-aa.
@@ -44,11 +44,6 @@
 CONFIGURE_ARGS+=       ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
 CONFIGURE_ARGS.gnu-iconv+=     --with-libiconv=gnu
 CONFIGURE_ARGS+=       --with-pcre=system
-# need pcre utf8 + unicode-properties
-BUILDLINK_API_DEPENDS.pcre+= pcre>=7.4nb1
-
-# Avoid an ICE in gcc2 on sparc64
-CONFIGURE_ENV+=                F77=${FALSE:Q}
 
 CONFIGURE_ENV+=                PERL_PATH=${PERL5:Q}
 
@@ -64,7 +59,6 @@
 CPPFLAGS+=             -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
 
 .if ${OPSYS} == "FreeBSD"
-
 SUBST_CLASSES+=                thr
 SUBST_STAGE.thr=       post-patch
 SUBST_FILES.thr=       gthread/Makefile.in
@@ -92,9 +86,6 @@
 
 PLIST_VARS+=           fam
 
-# Overridden in options.mk.
-CONFIGURE_ARGS+=       --disable-fam
-
 .if ${OPSYS} != "HPUX" && ${OPSYS} != "OSF1"
 .include "options.mk"
 .endif
@@ -108,6 +99,8 @@
 .else
 .include "../../mk/pthread.buildlink3.mk"
 .endif
+# need pcre utf8 + unicode-properties
+BUILDLINK_API_DEPENDS.pcre+= pcre>=7.4nb1
 .include "../../devel/pcre/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 557c6c76a829 -r 2e47e7f7befd devel/glib2/options.mk
--- a/devel/glib2/options.mk    Mon Dec 01 12:01:18 2008 +0000
+++ b/devel/glib2/options.mk    Mon Dec 01 13:25:47 2008 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.3 2008/05/28 21:20:48 joerg Exp $
+# $NetBSD: options.mk,v 1.4 2008/12/01 13:25:47 wiz Exp $
 #
 # This file is *not* included for HPUX and OSF1, as they don't have
 # a working FAM implementation. 
 
 PKG_OPTIONS_VAR =      PKG_OPTIONS.glib2
-
+PKG_SUPPORTED_OPTIONS= fam
 PKG_SUGGESTED_OPTIONS= fam
-PKG_SUPPORTED_OPTIONS= fam
+
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mfam)
@@ -24,4 +24,6 @@
 
 BUILDLINK_TRANSFORM+=          l:fam:fam:C
 .  endif
+.else
+CONFIGURE_ARGS+=       --disable-fam
 .endif



Home | Main Index | Thread Index | Old Index