ports/182022: Fix port: textproc/docbook-xml should use base unzip where possible
Chris Rees
crees at FreeBSD.org
Wed Sep 11 20:10:00 UTC 2013
>Number: 182022
>Category: ports
>Synopsis: Fix port: textproc/docbook-xml should use base unzip where possible
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 11 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release: FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD pegasus.bayofrum.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #1 r252227M: Sat Jun 29 13:55:30 BST 2013 root at pegasus.bayofrum.net:/usr/obj/usr/src/sys/PEGASUS amd64
>Description:
USE_ZIP depends on any binary called unzip, so build fails when base unzip is present, but not the zip package.
http://www.bayofrum.net/medusa/tinderlogs/10-local-20130829053459/docbook-xml-4.2_1.log (modified tinderbox to use the ports system to install dependencies, but will apply if installing on a clean system)
>How-To-Repeat:
>Fix:
Use plain unzip rather than ${UNZIP_CMD}
--- patch.txt begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 327009)
+++ Makefile (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: DocBook XML DTD
-# Date created: 28 March 1999
-# Whom: kuriyama
-#
+# Created by: kuriyama
# $FreeBSD$
-#
PORTNAME= docbook-xml
PORTVERSION= 4.2
@@ -36,7 +32,7 @@
@[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent
do-install:
- for file in `${UNZIP_CMD} -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
+ for file in `unzip -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCBOOKDIR}/$$file; \
done
--- patch.txt ends here ---
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list