summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-10-06 07:23:55 +0000
committerjlam <jlam@pkgsrc.org>2003-10-06 07:23:55 +0000
commit81c2f3eeedaa7120d0b62d86af8cc5ca3a1d84b8 (patch)
treedffa03238573b6e09427ec3bc47194d5ad205d23 /archivers
parentd8108582c6d006271a25a128cb6a9bc6247298ce (diff)
downloadpkgsrc-81c2f3eeedaa7120d0b62d86af8cc5ca3a1d84b8.tar.gz
Enable freeze-1.0-compatibility decompression. From pkg/22924 by
Todd Vierling. Bump PKGREVISION to 1.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/freeze/Makefile6
-rw-r--r--archivers/freeze/distinfo3
-rw-r--r--archivers/freeze/patches/patch-ad13
3 files changed, 20 insertions, 2 deletions
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile
index 2b252985423..a7280db3624 100644
--- a/archivers/freeze/Makefile
+++ b/archivers/freeze/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2003/07/17 21:21:11 grant Exp $
+# $NetBSD: Makefile,v 1.12 2003/10/06 07:23:55 jlam Exp $
DISTNAME= freeze-2.5
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.cdrom.com/pub/unixfreeware/archive/
@@ -11,6 +12,9 @@ USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
ALL_TARGET= prog
+# Allow "melting" freeze-1.0-format archives.
+CFLAGS+= -DCOMPAT=1
+
post-patch:
cd ${WRKSRC}; for file in *.1; do \
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
diff --git a/archivers/freeze/distinfo b/archivers/freeze/distinfo
index 66cfe163b9c..f91566dfbbf 100644
--- a/archivers/freeze/distinfo
+++ b/archivers/freeze/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2001/09/14 18:47:16 jlam Exp $
+$NetBSD: distinfo,v 1.5 2003/10/06 07:23:55 jlam Exp $
SHA1 (freeze-2.5.tar.gz) = 07b94508fcd95d35236a4090257aa402fd623812
Size (freeze-2.5.tar.gz) = 36402 bytes
SHA1 (patch-aa) = 659c035cddef121a2e971f82593f67a9a5bc100f
SHA1 (patch-ab) = ee451389539442c392830c7da252ac836d4a5adf
SHA1 (patch-ac) = 17b2b3b5514f7dea67ecfe969d8f6e988b5fad40
+SHA1 (patch-ad) = 9f1c797bb45dd76935eed777bd599d6fba87774e
diff --git a/archivers/freeze/patches/patch-ad b/archivers/freeze/patches/patch-ad
new file mode 100644
index 00000000000..f1287f5d7be
--- /dev/null
+++ b/archivers/freeze/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/10/06 07:23:55 jlam Exp $
+
+--- config.h.in.orig Wed Feb 24 05:37:00 1993
++++ config.h.in
+@@ -43,7 +43,7 @@
+ #undef SYSTIME
+
+ /* define if you want to have freeze compatible with vers. 1.0 */
+-#undef COMPAT
++/* #undef COMPAT */
+
+ /* define if your system has multibyte NEWLINE (as in MS-DOS) and */
+ /* you want to do text conversion by default */