ports/98744: Fix extraction on FreeBSD 4.x
Benjamin Lutz
benlutz at datacomm.ch
Fri Jun 9 10:40:24 UTC 2006
>Number: 98744
>Category: ports
>Synopsis: Fix extraction on FreeBSD 4.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 09 10:40:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Benjamin Lutz
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
>Description:
On FreeBSD 4.x, tar doesn't use libarchive and thus can't handle zip files.
Therefore use unzip.
>How-To-Repeat:
>Fix:
--- patch begins here ---
diff -ruN games/linux-enemyterritory.orig/Makefile games/linux-enemyterritory/Makefile
--- games/linux-enemyterritory.orig/Makefile Fri Jun 9 12:23:36 2006
+++ games/linux-enemyterritory/Makefile Fri Jun 9 12:28:48 2006
@@ -19,6 +19,7 @@
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
+USE_ZIP= yes
NO_CDROM= Redistribution is limited, see license
ETDIR= ${PREFIX}/lib/${PORTNAME}
INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
@@ -27,9 +28,9 @@
do-extract:
@${MKDIR} ${WRKSRC}
@cd ${WRKSRC} && \
- ${TAIL} +374 ${_DISTDIR}/et-linux-2.60.x86.run | ${TAR} xfz -
+ ${TAIL} +374 ${_DISTDIR}et-linux-2.60.x86.run | ${TAR} xfz -
@cd ${WRKSRC} && \
- ${TAR} xf ${_DISTDIR}/ET-2.60b.zip
+ ${UNZIP_CMD} -q ${_DISTDIR}ET-2.60b.zip
post-patch:
.for FILE in et etded
--- patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list