diff options
author | jlam <jlam> | 2002-09-21 22:56:28 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-21 22:56:28 +0000 |
commit | bd09ef2775d834c7ba3748083c01c206bee0cddc (patch) | |
tree | a7a057bdc67f75a1b8f77834ffcb18a587c3f621 /x11 | |
parent | 51e090abf083a9a0c3465099e8e64551d34ed799 (diff) | |
download | pkgsrc-bd09ef2775d834c7ba3748083c01c206bee0cddc.tar.gz |
buildlink1 -> buildlink2
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-core/Makefile | 44 | ||||
-rw-r--r-- | x11/gnome-core/distinfo | 4 | ||||
-rw-r--r-- | x11/gnome-core/patches/patch-aa | 88 |
3 files changed, 18 insertions, 118 deletions
diff --git a/x11/gnome-core/Makefile b/x11/gnome-core/Makefile index e02b429abdb..39ffca0716d 100644 --- a/x11/gnome-core/Makefile +++ b/x11/gnome-core/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.79 2002/09/15 05:58:56 rh Exp $ +# $NetBSD: Makefile,v 1.80 2002/09/21 23:11:19 jlam Exp $ # DISTNAME= gnome-core-1.4.2 @@ -19,7 +19,7 @@ BUILD_USES_MSGFMT= YES BUILDLINK_DEPENDS.gnome-pixmaps=gnome{,2}-pixmaps>=1.4.2 .endif -USE_BUILDLINK_ONLY= YES +USE_BUILDLINK2= YES USE_X11BASE= YES USE_GMAKE= YES USE_LIBTOOL= YES @@ -30,38 +30,24 @@ LOCALSTATEDIR= ${X11PREFIX}/var/gnome GNU_CONFIGURE= YES CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} -PERL_SCRIPTS= help-browser/gnome-convert help-browser/gnome-download - -post-patch: - cd ${WRKSRC}; \ - for FILE in ${PERL_SCRIPTS}; do \ - ${CP} $$FILE $${FILE}.orig; \ - ${SED} -e 's#/usr/bin/perl#${PERL5}#g' \ - <$${FILE}.orig >$$FILE; \ - done - cd ${WRKSRC}; \ - for file in `${FIND} . -name "Makefile.in"`; do \ - ${SED} -e "s|[ ]*-I\$$(includedir)||g" \ - $${file} > $${file}.fixed; \ - ${MV} -f $${file}.fixed $${file}; \ - done +REPLACE_PERL= help-browser/gnome-convert help-browser/gnome-download post-install: .for prg in gnome-feedback gnome-terminal gpl lgpl fdl -.for lng in C da de es it no +. for lng in C da de es it no [ ! -d ${PREFIX}/share/gnome/help/${prg}/${lng}/figures ] || \ ${RMDIR} ${PREFIX}/share/gnome/help/${prg}/${lng}/figures +. endfor .endfor -.endfor -.include "../../archivers/bzip2/buildlink.mk" -.include "../../devel/gettext-lib/buildlink.mk" -.include "../../devel/libglade/buildlink.mk" -.include "../../graphics/gdk-pixbuf-gnome/buildlink.mk" -.include "../../graphics/gnome-pixmaps/buildlink.mk" -.include "../../lang/perl5/buildlink.mk" -.include "../../textproc/libxml/buildlink.mk" -.include "../../www/gtkhtml/buildlink.mk" -.include "../../www/libghttp/buildlink.mk" -.include "../../mk/x11.buildlink.mk" +.include "../../archivers/bzip2/buildlink2.mk" +.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../devel/libglade/buildlink2.mk" +.include "../../graphics/gdk-pixbuf-gnome/buildlink2.mk" +.include "../../graphics/gnome-pixmaps/buildlink2.mk" +.include "../../lang/perl5/buildlink2.mk" +.include "../../textproc/libxml/buildlink2.mk" +.include "../../www/gtkhtml/buildlink2.mk" +.include "../../www/libghttp/buildlink2.mk" + .include "../../mk/bsd.pkg.mk" diff --git a/x11/gnome-core/distinfo b/x11/gnome-core/distinfo index 3cd36d05a83..fc077e427fc 100644 --- a/x11/gnome-core/distinfo +++ b/x11/gnome-core/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2002/09/14 02:46:56 rh Exp $ +$NetBSD: distinfo,v 1.9 2002/09/21 23:11:19 jlam Exp $ SHA1 (gnome-core-1.4.2.tar.bz2) = 213989b6ded4175f98a208d51fae180897beb20b Size (gnome-core-1.4.2.tar.bz2) = 6276384 bytes -SHA1 (patch-aa) = 9101f170b13095fe1f3517a1f9aba7e919aa733f +SHA1 (patch-aa) = f36c0409e5ece6978fe373d4f40f88ed1f04062e SHA1 (patch-ab) = 54d7ee01544a4928742d89773f9e9ec2c8e9f0bf SHA1 (patch-ac) = 02d5c68e9f2fedeb3a5b51900e553b92766ba32b SHA1 (patch-ag) = cf578cd3de610d216499f43dc229c266ab9ef447 diff --git a/x11/gnome-core/patches/patch-aa b/x11/gnome-core/patches/patch-aa index e390ac18e42..7a2c6faa961 100644 --- a/x11/gnome-core/patches/patch-aa +++ b/x11/gnome-core/patches/patch-aa @@ -1,51 +1,7 @@ -$NetBSD: patch-aa,v 1.11 2002/09/14 02:46:56 rh Exp $ +$NetBSD: patch-aa,v 1.12 2002/09/21 23:11:19 jlam Exp $ --- configure.orig Tue Sep 10 04:09:25 2002 +++ configure -@@ -1328,8 +1328,8 @@ else - fi - if test x$gnome_cv_orbit_found = xyes; then - -- ORBIT_CFLAGS=`orbit-config --cflags client server` -- ORBIT_LIBS=`orbit-config --use-service=name --libs client server` -+ ORBIT_CFLAGS=`$ORBIT_CONFIG --cflags client server` -+ ORBIT_LIBS=`$ORBIT_CONFIG --use-service=name --libs client server` - - - else -@@ -1346,8 +1346,8 @@ else - - gnome_cv_gnorba_found=no - if test x$gnome_cv_orbit_found = xyes; then -- GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" -- GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" -+ GNORBA_CFLAGS="`$GNOME_CONFIG --cflags gnorba gnomeui`" -+ GNORBA_LIBS="`$GNOME_CONFIG --libs gnorba gnomeui`" - if test -n "$GNORBA_LIBS"; then - gnome_cv_gnorba_found=yes - fi -@@ -1367,8 +1367,8 @@ else - fi - if test x$gnome_cv_orbit_found = xyes; then - -- GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" -- GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" -+ GNORBA_CFLAGS="`$GNOME_CONFIG --cflags gnorba gnomeui`" -+ GNORBA_LIBS="`$GNOME_CONFIG --libs gnorba gnomeui`" - - - else -@@ -7068,8 +7068,8 @@ rm -f conftest* - - CFLAGS_save=$CFLAGS - LIBS_save=$LIBS --CFLAGS=`gnome-config --cflags gnomeui` --LIBS=`gnome-config --libs gnomeui` -+CFLAGS=`$GNOME_CONFIG --cflags gnomeui` -+LIBS=`$GNOME_CONFIG --libs gnomeui` - - echo $ac_n "checking for gnome_window_icon_set_default_from_file in -lgnomeui""... $ac_c" 1>&6 - echo "configure:7076: checking for gnome_window_icon_set_default_from_file in -lgnomeui" >&5 @@ -8792,6 +8792,11 @@ fi sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES @@ -58,45 +14,3 @@ $NetBSD: patch-aa,v 1.11 2002/09/14 02:46:56 rh Exp $ # AM_GNOME_GETTEXT above substs $DATADIRNAME # this is the directory where the *.{mo,gmo} files are installed gnomelocaledir='${prefix}/share/locale' -@@ -9021,7 +9026,10 @@ echo "configure:9021: checking for GdkPi - PIXBUF_CFLAGS=`$GNOME_CONFIG --cflags gdk_pixbuf` - PIXBUF_LIBS=`$GNOME_CONFIG --libs gdk_pixbuf` - if test "x$PIXBUF_CFLAGS" != x ; then -- vers=`gdk-pixbuf-config --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -+ if test "x$GDK_PIXBUF_CONFIG" = "x"; then -+ GDK_PIXBUF_CONFIG=gdk-pixbuf-config -+ fi -+ vers=`$GDK_PIXBUF_CONFIG --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` - if test "$vers" -ge 0007000; then - echo "$ac_t""found" 1>&6 - else -@@ -9049,8 +9057,8 @@ ZVT_LIBS=`$GNOME_CONFIG --libs zvt` - echo $ac_n "checking for Glade libraries >= $LIBGLADE_REQUIRED""... $ac_c" 1>&6 - echo "configure:9051: checking for Glade libraries >= $LIBGLADE_REQUIRED" >&5 - libglade_ok=no --if gnome-config --libs libglade > /dev/null 2>&1; then -- verstxt=`gnome-config --modversion libglade` -+if $GNOME_CONFIG --libs libglade > /dev/null 2>&1; then -+ verstxt=`$GNOME_CONFIG --modversion libglade` - vers=`echo "$verstxt" | awk -F. '{ printf "%d", $1 * 1000 + $2;}'` - if test "$vers" -ge 14; then - echo "$ac_t""$marker_ok found $verstxt" 1>&6 -@@ -9066,14 +9074,14 @@ if test "$libglade_ok" = no; then - fi - unset libglade_ok - GT_LIBS="libglade zvt gnorba gnomeui" --GNOME_TERMINAL_LIBS=`gnome-config --libs $GT_LIBS` --GNOME_TERMINAL_CFLAGS=`gnome-config --cflags $GT_LIBS` -+GNOME_TERMINAL_LIBS=`$GNOME_CONFIG --libs $GT_LIBS` -+GNOME_TERMINAL_CFLAGS=`$GNOME_CONFIG --cflags $GT_LIBS` - - - - --GLADE_LIBS=`gnome-config --libs libglade` --GLADE_CFLAGS=`gnome-config --cflags libglade` -+GLADE_LIBS=`$GNOME_CONFIG --libs libglade` -+GLADE_CFLAGS=`$GNOME_CONFIG --cflags libglade` - - - |