diff options
author | garbled <garbled> | 1998-09-14 20:19:59 +0000 |
---|---|---|
committer | garbled <garbled> | 1998-09-14 20:19:59 +0000 |
commit | 8f4e0445ea434453f89f9e0ddab57094a515666d (patch) | |
tree | d69e1f534574b670e349ac25d281b4c3e745682c /graphics/giflib | |
parent | b62bd262151ef10711d1bc09e2de8f562d74a6b8 (diff) | |
download | pkgsrc-8f4e0445ea434453f89f9e0ddab57094a515666d.tar.gz |
Add USE_X11 (look at the code if you disagree, then come back to me)
Add -lX11 flags to the util Makefile to make this thing build.. How it
builds/runs on a.out is beyond me.. ELF seems to be a little more sane
in this respect.
Diffstat (limited to 'graphics/giflib')
-rw-r--r-- | graphics/giflib/Makefile | 3 | ||||
-rw-r--r-- | graphics/giflib/patches/patch-ab | 9 |
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index 7faf9cba36b..fc2b0072489 100644 --- a/graphics/giflib/Makefile +++ b/graphics/giflib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1998/08/20 15:17:00 tsarna Exp $ +# $NetBSD: Makefile,v 1.13 1998/09/14 20:19:59 garbled Exp $ # FreeBSD Id: Makefile,v 1.2 1997/09/24 06:55:01 tg Exp # @@ -10,6 +10,7 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.ccil.org/~esr/giflib/ USE_LIBTOOL= yes +USE_X11= yes post-install: @${MKDIR} ${PREFIX}/share/doc/giflib diff --git a/graphics/giflib/patches/patch-ab b/graphics/giflib/patches/patch-ab index 0d5e71bebf5..7035deef370 100644 --- a/graphics/giflib/patches/patch-ab +++ b/graphics/giflib/patches/patch-ab @@ -1,7 +1,6 @@ -$NetBSD: patch-ab,v 1.3 1998/08/07 10:40:47 agc Exp $ - ---- util/Makefile.orig Thu Jun 26 13:22:30 1997 -+++ util/Makefile Tue Jul 14 15:46:43 1998 +$NetBSD: patch-ab,v 1.4 1998/09/14 20:20:00 garbled Exp $ +--- util/Makefile.orig Thu Jun 26 10:22:30 1997 ++++ util/Makefile Mon Sep 14 12:53:28 1998 @@ -22,12 +22,13 @@ # X_INC_DIR = /server/sun4/usr/new/lib/X11R4 @@ -52,7 +51,7 @@ $NetBSD: patch-ab,v 1.3 1998/08/07 10:40:47 agc Exp $ .c: - $(CC) $(CFLAGS) $< $(GIF_LIB) -lm $(LDFLAGS) -o $* -+ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $< $(GIF_LIB) -lm $(LDFLAGS) -o $* ++ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $< $(GIF_LIB) -lm $(LDFLAGS) -L$(X_LIB_DIR) $(XLIBS) -o $* uninstall-utils: (cd $(DEST); rm -f $(BINARIES) $(RLE) $(IRIS) $(SCRIPTS)) |