summaryrefslogtreecommitdiff
path: root/archivers/fastjar
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-15 11:23:25 +0000
committerjlam <jlam>2001-07-15 11:23:25 +0000
commitce23b16e196b1d5bb6e80a72fb5e890ca449b6e0 (patch)
tree836df9e47caf171f91f5174ba96bc4b79ca2652a /archivers/fastjar
parent7fc577c4646c0c55867f2215d396b7949ddce739 (diff)
downloadpkgsrc-ce23b16e196b1d5bb6e80a72fb5e890ca449b6e0.tar.gz
Add missing dependency on zlib and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'archivers/fastjar')
-rw-r--r--archivers/fastjar/Makefile6
-rw-r--r--archivers/fastjar/distinfo3
-rw-r--r--archivers/fastjar/patches/patch-aa19
3 files changed, 25 insertions, 3 deletions
diff --git a/archivers/fastjar/Makefile b/archivers/fastjar/Makefile
index a506c161e85..7e12239d1e8 100644
--- a/archivers/fastjar/Makefile
+++ b/archivers/fastjar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 13:15:26 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/07/15 11:23:25 jlam Exp $
#
DISTNAME= fastjar-0.90
@@ -10,6 +10,8 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://fastjar.sourceforge.net/
COMMENT= C language version of the 'jar' archiver normally used by Java
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
+.include "../../devel/zlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/fastjar/distinfo b/archivers/fastjar/distinfo
index a017e4e2c76..b98dd4e164a 100644
--- a/archivers/fastjar/distinfo
+++ b/archivers/fastjar/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 09:32:43 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/07/15 11:23:25 jlam Exp $
SHA1 (fastjar-0.90.tgz) = bf88e42e10f66ed8a142833a93c5bc59c3ef9d84
Size (fastjar-0.90.tgz) = 40115 bytes
+SHA1 (patch-aa) = fb2ff3febff6e35511eb9294aa718cf4a4d427df
diff --git a/archivers/fastjar/patches/patch-aa b/archivers/fastjar/patches/patch-aa
new file mode 100644
index 00000000000..2859f7e5314
--- /dev/null
+++ b/archivers/fastjar/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2001/07/15 11:23:25 jlam Exp $
+
+--- Makefile.in.orig Mon Dec 6 01:42:00 1999
++++ Makefile.in
+@@ -1,4 +1,5 @@
+ CFLAGS = @CFLAGS@ @CPPFLAGS@ @DEFS@
++LDFLAGS = @LDFLAGS@
+ CC = @CC@
+ INSTALL = @INSTALL@
+ prefix = @prefix@
+@@ -8,7 +9,7 @@
+ all: fastjar
+
+ fastjar: jartool.o dostime.o compress.o pushback.o
+- $(CC) -o $@ jartool.o dostime.o compress.o pushback.o @LIBS@
++ $(CC) $(LDFLAGS) -o $@ jartool.o dostime.o compress.o pushback.o @LIBS@
+
+ install: fastjar
+ @INSTALL_PROGRAM@ -s -m 755 fastjar $(BINARY)