From efc76bf0332480319470b2b98d8edfb7e6383dc9 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 28 Aug 2002 15:53:09 +0000 Subject: buildlink1 -> buildlink2. --- www/glibwww/Makefile | 20 +++--------- www/glibwww/distinfo | 3 +- www/glibwww/patches/patch-aa | 76 -------------------------------------------- 3 files changed, 6 insertions(+), 93 deletions(-) delete mode 100644 www/glibwww/patches/patch-aa (limited to 'www/glibwww') diff --git a/www/glibwww/Makefile b/www/glibwww/Makefile index 00ee29c5813..a8893e81caa 100644 --- a/www/glibwww/Makefile +++ b/www/glibwww/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2002/08/25 19:23:25 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2002/08/28 15:53:09 jlam Exp $ # DISTNAME= glibwww-0.2 @@ -12,23 +12,13 @@ COMMENT= event register functions that use the glib event loop BUILDLINK_DEPENDS.gnome-libs= gnome-libs>=1.4.1.2nb1 -USE_BUILDLINK_ONLY= YES - +USE_BUILDLINK2= YES +USE_X11= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES - LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -post-patch: - cd ${WRKSRC}; \ - for file in src/Makefile.in; do \ - ${SED} -e "s|[ ]*-I\$$(includedir)||g" \ - $${file} > $${file}.fixed; \ - ${MV} -f $${file}.fixed $${file}; \ - done - -.include "../../www/libwww/buildlink.mk" -.include "../../x11/gnome-libs/buildlink.mk" +.include "../../www/libwww/buildlink2.mk" +.include "../../x11/gnome-libs/buildlink2.mk" -.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/glibwww/distinfo b/www/glibwww/distinfo index 04ff0f1f972..13b06d4b107 100644 --- a/www/glibwww/distinfo +++ b/www/glibwww/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.3 2002/04/10 16:17:37 jlam Exp $ +$NetBSD: distinfo,v 1.4 2002/08/28 15:53:09 jlam Exp $ SHA1 (glibwww-0.2.tar.gz) = ce1d8d3bd8720ace668058114e5192d3d4fd4571 Size (glibwww-0.2.tar.gz) = 162157 bytes -SHA1 (patch-aa) = 602fee5394ea1df6aef47eef1b2261f034840b67 diff --git a/www/glibwww/patches/patch-aa b/www/glibwww/patches/patch-aa deleted file mode 100644 index f98bf042b77..00000000000 --- a/www/glibwww/patches/patch-aa +++ /dev/null @@ -1,76 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2002/04/10 16:17:38 jlam Exp $ - ---- configure.orig Fri Aug 25 01:27:19 2000 -+++ configure -@@ -1034,8 +1034,8 @@ - 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 -@@ -1052,8 +1052,8 @@ - - 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 -@@ -1073,8 +1073,8 @@ - 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 -@@ -2178,19 +2178,22 @@ - - echo $ac_n "checking for libwww""... $ac_c" 1>&6 - echo "configure:2181: checking for libwww" >&5 --if ! `libwww-config --version > /dev/null 2>&1` ; then -+if test -z "${LIBWWW_CONFIG}"; then -+ LIBWWW_CONFIG=libwww-config -+fi -+if ! `$LIBWWW_CONFIG --version > /dev/null 2>&1` ; then - echo "$ac_t""not found" 1>&6 - have_libwww=false - else -- vers=`libwww-config --version` -+ vers=`$LIBWWW_CONFIG --version` - echo "$ac_t""found ("$vers")" 1>&6 - -- LIBWWW_CFLAGS="`libwww-config --cflags`" -- LIBWWW_LIBS="`libwww-config --libs`" -+ LIBWWW_CFLAGS="`$LIBWWW_CONFIG --cflags`" -+ LIBWWW_LIBS="`$LIBWWW_CONFIG --libs`" - - echo $ac_n "checking if libwww has zlib support built-in""... $ac_c" 1>&6 - echo "configure:2193: checking if libwww has zlib support built-in" >&5 -- if ( libwww-config --libs | grep -w -- '-lz' > /dev/null ) ; then -+ if ( $LIBWWW_CONFIG --libs | grep -w -- '-lz' > /dev/null ) ; then - echo "$ac_t""yes" 1>&6 - have_libwww=true - else -@@ -2223,8 +2226,8 @@ - fi - - --EXTRA_GNOME_LIBS="`gnome-config --libs gnomeui` $LIBWWW_LIBS" --EXTRA_GNOME_CFLAGS="`gnome-config --cflags` $LIBWWW_CFLAGS" -+EXTRA_GNOME_LIBS="`$GNOME_CONFIG --libs gnomeui` $LIBWWW_LIBS" -+EXTRA_GNOME_CFLAGS="`$GNOME_CONFIG --cflags` $LIBWWW_CFLAGS" - - - -- cgit v1.2.3