diff options
author | wiz <wiz@pkgsrc.org> | 2002-08-04 22:44:04 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-08-04 22:44:04 +0000 |
commit | deb10d5f817485161c293303da7d299e60c9b493 (patch) | |
tree | 2b8067bc4a3df516643686a5d534aab575f13e14 /net | |
parent | eab3e0c2408147148749e914e3e8aee41cd04e2a (diff) | |
download | pkgsrc-deb10d5f817485161c293303da7d299e60c9b493.tar.gz |
Fix build on xpkgwedged systems and some others.
Diffstat (limited to 'net')
-rw-r--r-- | net/wistumbler/Makefile | 5 | ||||
-rw-r--r-- | net/wistumbler/distinfo | 3 | ||||
-rw-r--r-- | net/wistumbler/patches/patch-aa | 28 |
3 files changed, 33 insertions, 3 deletions
diff --git a/net/wistumbler/Makefile b/net/wistumbler/Makefile index 7f81c451828..68b19a98eb0 100644 --- a/net/wistumbler/Makefile +++ b/net/wistumbler/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/08/03 10:29:08 itojun Exp $ +# $NetBSD: Makefile,v 1.2 2002/08/04 22:44:04 wiz Exp $ DISTNAME= wistumbler-0.1 CATEGORIES= net @@ -8,6 +8,7 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://gongon.com/persons/iseki/wistumbler/ COMMENT= Network stumbler for WaveLAN/IEEE wireless networking -DEPENDS+= gtk+-1.2.10:../../x11/gtk +USE_BUILDLINK_ONLY= YES +.include "../../x11/gtk/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/wistumbler/distinfo b/net/wistumbler/distinfo index 2b712949bb5..8ee66b1bb95 100644 --- a/net/wistumbler/distinfo +++ b/net/wistumbler/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/08/03 10:29:08 itojun Exp $ +$NetBSD: distinfo,v 1.2 2002/08/04 22:44:04 wiz Exp $ SHA1 (wistumbler-0.1.tar.gz) = 4a3eeec7300e03a57814ee8f58e51fd4abdb765b Size (wistumbler-0.1.tar.gz) = 6925 bytes +SHA1 (patch-aa) = 696fbd4dbb4c9c81d6d86bf4e708757ad0756f4c diff --git a/net/wistumbler/patches/patch-aa b/net/wistumbler/patches/patch-aa new file mode 100644 index 00000000000..40ed3c8b01a --- /dev/null +++ b/net/wistumbler/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 2002/08/04 22:44:05 wiz Exp $ + +--- Makefile.orig Sat Aug 3 10:21:32 2002 ++++ Makefile +@@ -1,20 +1,14 @@ +-CFLAGS= -g -O2 -Wall ++CFLAGS+= -g -Wall `${GTK_CONFIG} --cflags` ++LDFLAGS+= `${GTK_CONFIG} --libs` + + all: wistumbler + + wistumbler: stumbler.o wicontrol.o +- gcc $(CFLAGS) -o wistumbler \ +- -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib \ +- -L/usr/pkg/lib -Wl,-R/usr/pkg/lib \ +- -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm \ ++ gcc $(CFLAGS) $(LDFLAGS) -o wistumbler \ + stumbler.o wicontrol.o + + .c.o: + gcc $(CFLAGS) \ +- -I/usr/X11R6/include/gtk-1.2 \ +- -I/usr/pkg/include/glib/glib-1.2 \ +- -I/usr/pkg/lib/glib/include \ +- -I/usr/X11R6/include \ + -c $< + + clean: |