I updated p5-Compress-Zlib to latest version,
now it depends on other new ports:
http://bigio.snb.it/openbsd/p5-Compress-Raw-Zlib.tgz
http://bigio.snb.it/openbsd/p5-IO-Compress-Base.tgz
http://bigio.snb.it/openbsd/p5-IO-Compress-Zlib.tgz
The diff is attached and available at:
http://bigio.snb.it/openbsd/p5-Compress-Zlib.diff
Tested on i386, Ok ?
Giovanni
diff -ruNx CVS archivers/p5-Compress-Zlib/Makefile
mystuff/archivers/p5-Compress-Zlib/Makefile
--- archivers/p5-Compress-Zlib/Makefile Fri Nov 17 16:08:16 2006
+++ mystuff/archivers/p5-Compress-Zlib/Makefile Mon Apr 30 22:18:46 2007
@@ -6,22 +6,25 @@
MODULES= cpan
-DISTNAME= Compress-Zlib-1.42
+DISTNAME= Compress-Zlib-2.004
CATEGORIES= archivers
+PKG_ARCH= *
+RUN_DEPENDS= ::archivers/p5-IO-Compress-Zlib
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= z
-
EXAMPLE_FILES= filtdef filtinf gzcat gzgrep gzstream
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Compress-Zlib
.for i in ${EXAMPLE_FILES}
+ @perl -pi -e 's,/usr/local/bin/perl,/usr/bin/perl,g'
${WRKBUILD}/examples/$i
${INSTALL_SCRIPT} ${WRKBUILD}/examples/$i \
${PREFIX}/share/examples/p5-Compress-Zlib
.endfor
diff -ruNx CVS archivers/p5-Compress-Zlib/distinfo
mystuff/archivers/p5-Compress-Zlib/distinfo
--- archivers/p5-Compress-Zlib/distinfo Thu Apr 5 17:37:40 2007
+++ mystuff/archivers/p5-Compress-Zlib/distinfo Tue Apr 24 11:59:23 2007
@@ -1,5 +1,5 @@
-MD5 (Compress-Zlib-1.42.tar.gz) = Grdr/Wcx2A9qu9FkPJDKvQ==
-RMD160 (Compress-Zlib-1.42.tar.gz) = wSEtaXQByOX3eOLVaxqraxnXwfY=
-SHA1 (Compress-Zlib-1.42.tar.gz) = s+5RO6iDP561bqnw4z3mf6Djt4M=
-SHA256 (Compress-Zlib-1.42.tar.gz) =
d5TZFxHoyeUmQx2nLFO7COFHkPMm0OMw2enWUfP2/Gw=
-SIZE (Compress-Zlib-1.42.tar.gz) = 152085
+MD5 (Compress-Zlib-2.004.tar.gz) = 6ng3KUo6Q0wSZsfphixDYA==
+RMD160 (Compress-Zlib-2.004.tar.gz) = cKC/2c5S2eaUaZ80YmEP6ct2PHk=
+SHA1 (Compress-Zlib-2.004.tar.gz) = v3tCMN9ZJYF311y/O09ilmkBee0=
+SHA256 (Compress-Zlib-2.004.tar.gz) =
AqqfY84cU9/8SMCfezDNMGwEExMz6Z5mPfHZ9HJ4o7E=
+SIZE (Compress-Zlib-2.004.tar.gz) = 62484
diff -ruNx CVS archivers/p5-Compress-Zlib/patches/patch-config_in
mystuff/archivers/p5-Compress-Zlib/patches/patch-config_in
--- archivers/p5-Compress-Zlib/patches/patch-config_in Fri Sep 23 05:47:14 2005
+++ mystuff/archivers/p5-Compress-Zlib/patches/patch-config_in Thu Jan 1
01:00:00 1970
@@ -1,16 +0,0 @@
-$OpenBSD: patch-config_in,v 1.3 2005/09/23 03:47:14 kevlo Exp $
---- config.in.orig Fri Aug 5 20:30:59 2005
-+++ config.in Fri Sep 23 11:38:16 2005
-@@ -11,9 +11,9 @@
- # See to the section "Controlling the version of zlib used by
- # Compress::Zlib" in the README file for details of how to use this file.
-
--BUILD_ZLIB = True
--INCLUDE = ./zlib-src
--LIB = ./zlib-src
-+BUILD_ZLIB = False
-+INCLUDE = /usr/include
-+LIB = /usr/lib
- OLD_ZLIB = False
-
-
diff -ruNx CVS archivers/p5-Compress-Zlib/patches/patch-examples_filtdef
mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_filtdef
--- archivers/p5-Compress-Zlib/patches/patch-examples_filtdef Tue Jul 5
15:48:10 2005
+++ mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_filtdef Thu Jan
1 01:00:00 1970
@@ -1,9 +0,0 @@
-$OpenBSD: patch-examples_filtdef,v 1.2 2005/07/05 13:48:10 naddy Exp $
---- examples/filtdef.orig Tue Jul 5 15:41:41 2005
-+++ examples/filtdef Tue Jul 5 15:42:02 2005
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/perl
-
- use strict ;
- local ($^W) = 1; #use warnings ;
diff -ruNx CVS archivers/p5-Compress-Zlib/patches/patch-examples_filtinf
mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_filtinf
--- archivers/p5-Compress-Zlib/patches/patch-examples_filtinf Tue Jul 5
15:48:10 2005
+++ mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_filtinf Thu Jan
1 01:00:00 1970
@@ -1,9 +0,0 @@
-$OpenBSD: patch-examples_filtinf,v 1.2 2005/07/05 13:48:10 naddy Exp $
---- examples/filtinf.orig Tue Jul 5 15:41:41 2005
-+++ examples/filtinf Tue Jul 5 15:42:08 2005
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/perl
-
- use strict ;
- local ($^W) = 1; #use warnings ;
diff -ruNx CVS archivers/p5-Compress-Zlib/patches/patch-examples_gzcat
mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_gzcat
--- archivers/p5-Compress-Zlib/patches/patch-examples_gzcat Tue Jul 5
15:48:10 2005
+++ mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_gzcat Thu Jan
1 01:00:00 1970
@@ -1,9 +0,0 @@
-$OpenBSD: patch-examples_gzcat,v 1.2 2005/07/05 13:48:10 naddy Exp $
---- examples/gzcat.orig Tue Jul 5 15:41:41 2005
-+++ examples/gzcat Tue Jul 5 15:42:12 2005
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/perl
-
- use strict ;
- local ($^W) = 1; #use warnings ;
diff -ruNx CVS archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep
mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep
--- archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep Tue Jul 5
15:48:10 2005
+++ mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_gzgrep Thu Jan
1 01:00:00 1970
@@ -1,9 +0,0 @@
-$OpenBSD: patch-examples_gzgrep,v 1.2 2005/07/05 13:48:10 naddy Exp $
---- examples/gzgrep.orig Tue Jul 5 15:41:41 2005
-+++ examples/gzgrep Tue Jul 5 15:42:15 2005
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/perl
-
- use strict ;
- local ($^W) = 1; #use warnings ;
diff -ruNx CVS archivers/p5-Compress-Zlib/patches/patch-examples_gzstream
mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_gzstream
--- archivers/p5-Compress-Zlib/patches/patch-examples_gzstream Tue Jul 5
15:48:10 2005
+++ mystuff/archivers/p5-Compress-Zlib/patches/patch-examples_gzstream Thu Jan
1 01:00:00 1970
@@ -1,9 +0,0 @@
-$OpenBSD: patch-examples_gzstream,v 1.2 2005/07/05 13:48:10 naddy Exp $
---- examples/gzstream.orig Tue Jul 5 15:41:41 2005
-+++ examples/gzstream Tue Jul 5 15:42:21 2005
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl
-+#!/usr/bin/perl
-
- use strict ;
- local ($^W) = 1; #use warnings ;
diff -ruNx CVS archivers/p5-Compress-Zlib/pkg/PLIST
mystuff/archivers/p5-Compress-Zlib/pkg/PLIST
--- archivers/p5-Compress-Zlib/pkg/PLIST Wed Sep 15 01:12:43 2004
+++ mystuff/archivers/p5-Compress-Zlib/pkg/PLIST Mon Apr 30 14:48:48 2007
@@ -1,13 +1,10 @@
@comment $OpenBSD: PLIST,v 1.15 2004/09/14 23:12:43 espie Exp $
-${P5ARCH}/
-${P5ARCH}/Compress/
-${P5ARCH}/Compress/Zlib.pm
-${P5ARCH}/auto/
-${P5ARCH}/auto/Compress/
-${P5ARCH}/auto/Compress/Zlib/
-${P5ARCH}/auto/Compress/Zlib/Zlib.bs
-${P5ARCH}/auto/Compress/Zlib/Zlib.so
-${P5ARCH}/auto/Compress/Zlib/autosplit.ix
+${P5SITE}/Compress/
+${P5SITE}/Compress/Zlib.pm
+${P5SITE}/auto/
+${P5SITE}/auto/Compress/
+${P5SITE}/auto/Compress/Zlib/
+${P5SITE}/auto/Compress/Zlib/autosplit.ix
@man man/man3p/Compress::Zlib.3p
share/examples/p5-Compress-Zlib/
share/examples/p5-Compress-Zlib/filtdef