diff options
author | agc <agc> | 2002-08-28 16:49:41 +0000 |
---|---|---|
committer | agc <agc> | 2002-08-28 16:49:41 +0000 |
commit | c86b7b0fe2646af9eff9f72ecb1fdf1a8e62c1a9 (patch) | |
tree | 6583cf027370895eb6dd827278dd685f6c006ba5 | |
parent | 28d264838b0bda63c2ebdd83b882ab536933c8ed (diff) | |
download | pkgsrc-c86b7b0fe2646af9eff9f72ecb1fdf1a8e62c1a9.tar.gz |
Add patch-af to find the pr(1) program properly, rather than
hardcoding an invalid path.
Also modify the package (jointly by jlam and agc) to use the zlib
buildlink2 infrastructure, rather than using the one in the package.
-rw-r--r-- | devel/opencm/Makefile | 3 | ||||
-rw-r--r-- | devel/opencm/distinfo | 7 | ||||
-rw-r--r-- | devel/opencm/patches/patch-ac | 19 | ||||
-rw-r--r-- | devel/opencm/patches/patch-ad | 4 | ||||
-rw-r--r-- | devel/opencm/patches/patch-af | 13 |
5 files changed, 36 insertions, 10 deletions
diff --git a/devel/opencm/Makefile b/devel/opencm/Makefile index 8033983c9c6..bb09cba5eac 100644 --- a/devel/opencm/Makefile +++ b/devel/opencm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/08/28 15:50:49 agc Exp $ +# $NetBSD: Makefile,v 1.3 2002/08/28 16:49:41 agc Exp $ # DISTNAME= ${OPENCM_VERSION}-1-src @@ -27,6 +27,7 @@ WRKSRC= ${WRKDIR}/${OPENCM_VERSION}/base .include "../../devel/boehm-gc/buildlink2.mk" .include "../../devel/ncurses/buildlink2.mk" .include "../../devel/readline/buildlink2.mk" +.include "../../devel/zlib/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" .include "../../mk/texinfo.mk" diff --git a/devel/opencm/distinfo b/devel/opencm/distinfo index 0bf52b0947e..aa336d7a02a 100644 --- a/devel/opencm/distinfo +++ b/devel/opencm/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/08/28 14:53:15 agc Exp $ +$NetBSD: distinfo,v 1.2 2002/08/28 16:49:41 agc Exp $ SHA1 (opencm-0.1.0alpha16-1-src.tgz) = 05ce1f78150b32832715c5d1bfaf89f32e361620 Size (opencm-0.1.0alpha16-1-src.tgz) = 1243471 bytes SHA1 (patch-aa) = 00e4ac94921a8910997cdbad5eefb449d54c00b8 SHA1 (patch-ab) = 97f5c9ddd066d5b8b44461544cd7db0faed871bf -SHA1 (patch-ac) = 148fcd24631c813783b8b72c5f391c8b18432687 -SHA1 (patch-ad) = 44f9790557094c2cdb2ac1da5e13e96e3093bb37 +SHA1 (patch-ac) = e95bd988db27cb88d9b942c0f28ef1a79af267cd +SHA1 (patch-ad) = 33976f3a42eb8dd21f02963d0ec0cc28f576760f SHA1 (patch-ae) = ac6230c6fcc263b3386c3923bdcf6b111630e00a +SHA1 (patch-af) = 63194a7f9530ccf3ac7f0d91b94d717295c61f0b diff --git a/devel/opencm/patches/patch-ac b/devel/opencm/patches/patch-ac index bb0e4f81d1b..4e2b5c5fdb6 100644 --- a/devel/opencm/patches/patch-ac +++ b/devel/opencm/patches/patch-ac @@ -1,13 +1,24 @@ -$NetBSD: patch-ac,v 1.1.1.1 2002/08/28 14:53:15 agc Exp $ +$NetBSD: patch-ac,v 1.2 2002/08/28 16:49:42 agc Exp $ --- src/Makefile.in 2002/08/27 17:42:12 1.1 +++ src/Makefile.in 2002/08/27 17:45:06 -@@ -108,7 +108,7 @@ +@@ -107,8 +107,8 @@ + # COMREADLINE=-DUSE_READLINE -I/usr/include/readline SESSIONTIMEOUT=-DCLIENT_TIMEOUT=1800 LIBDIFF=$(TOPDIR)/../libgdiff/libgdiff.a - LIBZ=$(TOPDIR)/../zlib/libz.a +-LIBZ=$(TOPDIR)/../zlib/libz.a -LIBGC=$(TOPDIR)/../gc6.0/.libs/libgc.a -+LIBGC=@prefix@/lib/libgc.a ++LIBZ=-lz ++LIBGC=-lgc XCFLAGS = -Wmissing-prototypes -Wall -Wreturn-type -DDATADIR=\"$(datadir)\" # XCFLAGS += -Wno-unused -Werror +@@ -235,7 +235,7 @@ + nodepend: + find $(TOPDIR) -name '*.m' -exec rm {} \; + +-$(OPENCM): $(OBJECTS) $(LIBDIFF) $(LIBZ) $(LIBGC) ++$(OPENCM): $(OBJECTS) $(LIBDIFF) + $(CC) -o $(OPENCM) $(CFLAGS) $(OBJECTS) $(LDFLAGS) $(LIBDIFF) $(LIBZ) $(LIBGC) $(LIBS) + + # Whenever we rebuild a .o file, we also need to rebuild the .m file: diff --git a/devel/opencm/patches/patch-ad b/devel/opencm/patches/patch-ad index 634a0d4e0fd..4dd102b7110 100644 --- a/devel/opencm/patches/patch-ad +++ b/devel/opencm/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.1.1.1 2002/08/28 14:53:15 agc Exp $ +$NetBSD: patch-ad,v 1.2 2002/08/28 16:49:42 agc Exp $ --- Makefile.in 2002/08/27 17:47:00 1.1 +++ Makefile.in 2002/08/27 17:47:13 @@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2002/08/28 14:53:15 agc Exp $ ### Subdirectories to run make in for the primary targets. # Unix source subdirs, where we'll want to run lint and etags: -USOURCE_SUBDIRS = libgdiff gc6.0 zlib src -+USOURCE_SUBDIRS = libgdiff zlib src ++USOURCE_SUBDIRS = libgdiff src # All other subdirs: SUBDIRS = ${USOURCE_SUBDIRS} doc tools etc diff --git a/devel/opencm/patches/patch-af b/devel/opencm/patches/patch-af new file mode 100644 index 00000000000..a070845d28f --- /dev/null +++ b/devel/opencm/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2002/08/28 16:49:42 agc Exp $ + +--- libgdiff/Makefile.in 2002/08/28 16:37:05 1.1 ++++ libgdiff/Makefile.in 2002/08/28 16:39:31 +@@ -31,7 +31,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + +-PR_PROGRAM = /bin/pr ++PR_PROGRAM = $(shell type pr | awk '{ print $$NF }') + + #### End of system configuration section. #### + |