diff options
author | jlam <jlam@pkgsrc.org> | 2002-04-10 16:56:12 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-04-10 16:56:12 +0000 |
commit | 7ceba93cd4edafa3cd5a4fbc7b0659a720bd7d25 (patch) | |
tree | de6e4052367ffbc085627abc46db5c00549b2b8b /www/gtkhtml | |
parent | 72398f56d8e45a3b308f38456084b275ed209c82 (diff) | |
download | pkgsrc-7ceba93cd4edafa3cd5a4fbc7b0659a720bd7d25.tar.gz |
Strongly buildlinkify and use LIBTOOL_OVERRIDE to ensure that the pkgsrc
libtool is invoked.
Diffstat (limited to 'www/gtkhtml')
-rw-r--r-- | www/gtkhtml/Makefile | 16 | ||||
-rw-r--r-- | www/gtkhtml/distinfo | 4 | ||||
-rw-r--r-- | www/gtkhtml/patches/patch-aa | 198 |
3 files changed, 211 insertions, 7 deletions
diff --git a/www/gtkhtml/Makefile b/www/gtkhtml/Makefile index 9411d10ec02..66eb0543453 100644 --- a/www/gtkhtml/Makefile +++ b/www/gtkhtml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2002/03/13 17:37:51 fredb Exp $ +# $NetBSD: Makefile,v 1.19 2002/04/10 16:56:12 jlam Exp $ DISTNAME= gtkhtml-1.0.1 PKGREVISION= 1 @@ -16,7 +16,19 @@ USE_LIBTOOL= YES USE_GMAKE= YES GNU_CONFIGURE= YES -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +post-patch: + cd ${WRKSRC}; \ + for file in \ + src/Makefile.in \ + capplet/Makefile.in \ + components/http-storage-module/Makefile.in; \ + do \ + ${SED} -e "s|[ ]*-I\$$(includedir)||g" \ + $${file} > $${file}.fixed; \ + ${MV} -f $${file}.fixed $${file}; \ + done .include "../../devel/bonobo/buildlink.mk" .include "../../devel/gal/buildlink.mk" diff --git a/www/gtkhtml/distinfo b/www/gtkhtml/distinfo index 55aeb7f3ef6..9d0478a9ad2 100644 --- a/www/gtkhtml/distinfo +++ b/www/gtkhtml/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2002/01/17 11:15:32 martti Exp $ +$NetBSD: distinfo,v 1.9 2002/04/10 16:56:12 jlam Exp $ SHA1 (gtkhtml-1.0.1.tar.bz2) = 67f9ab77def69365209ec189f0a74d2f05e0359a Size (gtkhtml-1.0.1.tar.bz2) = 939965 bytes -SHA1 (patch-aa) = 0a0c00da0b28a3c8658b5fb486be4dabe14598d4 +SHA1 (patch-aa) = 5c3074da0d28bcbe4495f24af0ee73a905e22ac4 SHA1 (patch-ab) = e87b80de2c0a64ca7076264e9d23addb57b709b2 SHA1 (patch-ac) = ac61550a67e032bc04995137d28293d7b3a714ca diff --git a/www/gtkhtml/patches/patch-aa b/www/gtkhtml/patches/patch-aa index 9d8d90fdb68..5a1b957e26b 100644 --- a/www/gtkhtml/patches/patch-aa +++ b/www/gtkhtml/patches/patch-aa @@ -1,7 +1,40 @@ -$NetBSD: patch-aa,v 1.4 2002/01/17 11:15:33 martti Exp $ +$NetBSD: patch-aa,v 1.5 2002/04/10 16:56:13 jlam Exp $ ---- configure.orig Mon Dec 17 19:04:07 2001 -+++ configure Wed Jan 16 13:25:59 2002 +--- configure.orig Mon Dec 17 13:04:07 2001 ++++ configure +@@ -1650,8 +1650,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 + if test xfail = xfailure; then +@@ -1669,8 +1669,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 +@@ -1689,8 +1689,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 + if test xfail = xfailure; then @@ -8775,7 +8775,7 @@ echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 @@ -11,3 +44,162 @@ $NetBSD: patch-aa,v 1.4 2002/01/17 11:15:33 martti Exp $ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext INSTOBJEXT=.mo +@@ -9176,8 +9176,8 @@ + echo "$as_me:9176: checking for $dispname >= $dispvers" >&5 + echo $ECHO_N "checking for $dispname >= $dispvers... $ECHO_C" >&6 + cmpvers=`echo $dispvers | awk -F. '{ print $1 * 1000000 + $2 * 10000 + $3 * 100 + $4;}'` +- if gnome-config --libs $pkgname > /dev/null 2>&1; then +- pkgvers=`gnome-config --modversion $pkgname | sed -e 's/^[^0-9]*//'` ++ if $GNOME_CONFIG --libs $pkgname > /dev/null 2>&1; then ++ pkgvers=`$GNOME_CONFIG --modversion $pkgname | sed -e 's/^[^0-9]*//'` + else + pkgvers=not + fi +@@ -9204,8 +9204,8 @@ + echo "$as_me:9204: checking for $dispname >= $dispvers" >&5 + echo $ECHO_N "checking for $dispname >= $dispvers... $ECHO_C" >&6 + cmpvers=`echo $dispvers | awk -F. '{ print $1 * 1000000 + $2 * 10000 + $3 * 100 + $4;}'` +- if gnome-config --libs $pkgname > /dev/null 2>&1; then +- pkgvers=`gnome-config --modversion $pkgname | sed -e 's/^[^0-9]*//'` ++ if $GNOME_CONFIG --libs $pkgname > /dev/null 2>&1; then ++ pkgvers=`$GNOME_CONFIG --modversion $pkgname | sed -e 's/^[^0-9]*//'` + else + pkgvers=not + fi +@@ -9232,8 +9232,8 @@ + echo "$as_me:9232: checking for $dispname >= $dispvers" >&5 + echo $ECHO_N "checking for $dispname >= $dispvers... $ECHO_C" >&6 + cmpvers=`echo $dispvers | awk -F. '{ print $1 * 1000000 + $2 * 10000 + $3 * 100 + $4;}'` +- if gnome-config --libs $pkgname > /dev/null 2>&1; then +- pkgvers=`gnome-config --modversion $pkgname | sed -e 's/^[^0-9]*//'` ++ if $GNOME_CONFIG --libs $pkgname > /dev/null 2>&1; then ++ pkgvers=`$GNOME_CONFIG --modversion $pkgname | sed -e 's/^[^0-9]*//'` + else + pkgvers=not + fi +@@ -9260,8 +9260,8 @@ + echo "$as_me:9260: checking for $dispname >= $dispvers" >&5 + echo $ECHO_N "checking for $dispname >= $dispvers... $ECHO_C" >&6 + cmpvers=`echo $dispvers | awk -F. '{ print $1 * 1000000 + $2 * 10000 + $3 * 100 + $4;}'` +- if gnome-config --libs $pkgname > /dev/null 2>&1; then +- pkgvers=`gnome-config --modversion $pkgname | sed -e 's/^[^0-9]*//'` ++ if $GNOME_CONFIG --libs $pkgname > /dev/null 2>&1; then ++ pkgvers=`$GNOME_CONFIG --modversion $pkgname | sed -e 's/^[^0-9]*//'` + else + pkgvers=not + fi +@@ -9291,7 +9291,10 @@ + + if test "x$enable_xim" = "xyes"; then + BACKUP_LDFLAGS=$LDFLAGS +- LDFLAGS="$LDFLAGS `gtk-config --libs`" ++ if test "x$GTK_CONFIG" = "x"; then ++ GTK_CONFIG=gtk-config ++ fi ++ LDFLAGS="$LDFLAGS `$GTK_CONFIG --libs`" + echo "$as_me:9295: checking for gdk_im_begin" >&5 + echo $ECHO_N "checking for gdk_im_begin... $ECHO_C" >&6 + if test "${ac_cv_func_gdk_im_begin+set}" = set; then +@@ -9431,16 +9434,16 @@ + have_glibwww=false + echo "$as_me:9432: checking for glibwww >= 0.2" >&5 + echo $ECHO_N "checking for glibwww >= 0.2... $ECHO_C" >&6 +-if gnome-config --libs glibwww > /dev/null 2>&1; then +- vers=`gnome-config --modversion glibwww | sed -e "s/glibwww-//" | \ ++if $GNOME_CONFIG --libs glibwww > /dev/null 2>&1; then ++ vers=`$GNOME_CONFIG --modversion glibwww | sed -e "s/glibwww-//" | \ + awk 'BEGIN { FS = "."; } { printf "%d", $1 * 1000 + $2;}'` + + if test "$vers" -ge 2; then + echo "$as_me:9439: result: found" >&5 + echo "${ECHO_T}found" >&6 + +- GLIBWWW_CFLAGS="`gnome-config --cflags glibwww`" +- GLIBWWW_LIBS="`gnome-config --libs glibwww` -lwwwhtml -lmd5" ++ GLIBWWW_CFLAGS="`$GNOME_CONFIG --cflags glibwww`" ++ GLIBWWW_LIBS="`$GNOME_CONFIG --libs glibwww` -lwwwhtml -lmd5" + + have_glibwww=true + else +@@ -9473,16 +9476,16 @@ + have_ghttp=false + echo "$as_me:9474: checking for libghttp >= 1.0" >&5 + echo $ECHO_N "checking for libghttp >= 1.0... $ECHO_C" >&6 +-if gnome-config --libs ghttp > /dev/null 2>&1; then +- vers=`gnome-config --modversion ghttp | sed -e "s/ghttp-//" | \ ++if $GNOME_CONFIG --libs ghttp > /dev/null 2>&1; then ++ vers=`$GNOME_CONFIG --modversion ghttp | sed -e "s/ghttp-//" | \ + awk 'BEGIN { FS = "."; } { printf "%d", $1 * 1000 + $2;}'` + + if test "$vers" -ge 1000; then + echo "$as_me:9481: result: found" >&5 + echo "${ECHO_T}found" >&6 + +- GHTTP_CFLAGS="`gnome-config --cflags ghttp`" +- GHTTP_LIBS="`gnome-config --libs ghttp`" ++ GHTTP_CFLAGS="`$GNOME_CONFIG --cflags ghttp`" ++ GHTTP_LIBS="`$GNOME_CONFIG --libs ghttp`" + + have_ghttp=true + else +@@ -9533,8 +9536,8 @@ + echo "$as_me:9533: checking for Bonobo >= 0.32" >&5 + echo $ECHO_N "checking for Bonobo >= 0.32... $ECHO_C" >&6 + +- if gnome-config --libs bonobox > /dev/null 2>&1; then +- vers=`gnome-config --modversion bonobo | sed -e "s/bonobo-//" | \ ++ if $GNOME_CONFIG --libs bonobox > /dev/null 2>&1; then ++ vers=`$GNOME_CONFIG --modversion bonobo | sed -e "s/bonobo-//" | \ + awk 'BEGIN { FS = "."; } { printf "%d", $1 * 1000 + $2;}'` + if test "$vers" -ge 32; then + bonobo_ok=true +@@ -9553,7 +9556,7 @@ + EOF + + have_bonobo=true +- if gnome-config --libs bonobox > /dev/null 2>&1; then ++ if $GNOME_CONFIG --libs bonobox > /dev/null 2>&1; then + bonobo=bonobox + else + bonobo=bonobo +@@ -9581,7 +9584,7 @@ + + echo "$as_me:9582: checking if Bonobo uses OAF" >&5 + echo $ECHO_N "checking if Bonobo uses OAF... $ECHO_C" >&6 +-if ( gnome-config --libs bonobo | grep oaf ) > /dev/null 2>&1 ; then ++if ( $GNOME_CONFIG --libs bonobo | grep oaf ) > /dev/null 2>&1 ; then + using_oaf="yes" + cat >>confdefs.h <<\EOF + #define USING_OAF 1 +@@ -9622,13 +9625,16 @@ + if $try_gconf; then + echo "$as_me:9623: checking for gconf" >&5 + echo $ECHO_N "checking for gconf... $ECHO_C" >&6 +- if gconf-config --version > /dev/null 2>&1; then +- gconf_ver=`gconf-config --version` ++ if test "x$GCONF_CONFIG" = "x"; then ++ GCONF_CONFIG=gconf-config ++ fi ++ if $GCONF_CONFIG --version > /dev/null 2>&1; then ++ gconf_ver=`$GCONF_CONFIG --version` + vers=`echo ${gconf_ver} | awk 'BEGIN { FS = "."; } { print $1 * 1000000 + $2 * 1000 + $3;}'` + if test "$vers" -ge 1000007; then + have_gconf=true +- GCONF_CFLAGS="`gconf-config --cflags gconf-gtk` -DGTKHTML_HAVE_GCONF" +- GCONF_LIBS="`gconf-config --libs gconf-gtk`" ++ GCONF_CFLAGS="`$GCONF_CONFIG --cflags gconf-gtk` -DGTKHTML_HAVE_GCONF" ++ GCONF_LIBS="`$GCONF_CONFIG --libs gconf-gtk`" + echo "$as_me:9632: result: found ($gconf_ver)" >&5 + echo "${ECHO_T}found ($gconf_ver)" >&6 + else +@@ -9643,8 +9649,8 @@ + fi + fi + +-EXTRA_GNOME_LIBS=`gnome-config --libs gnomeui gdk_pixbuf print gal $bonobo libglade oaf` +-EXTRA_GNOME_CFLAGS=`gnome-config --cflags gnomeui gdk_pixbuf print gal $bonobo libglade oaf` ++EXTRA_GNOME_LIBS=`$GNOME_CONFIG --libs gnomeui gdk_pixbuf print gal $bonobo libglade oaf` ++EXTRA_GNOME_CFLAGS=`$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print gal $bonobo libglade oaf` + + GTKHTML_LIBDIR="-L${libdir}" + GTKHTML_INCLUDEDIR="-I${includedir}" |