Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 21:03:04 +0100 (BST)
From:      Chris Rees <crees@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182022: Fix port: textproc/docbook-xml should use base unzip where possible
Message-ID:  <20130911200304.4F2393B7F3@pegasus.bayofrum.net>
Resent-Message-ID: <201309112010.r8BKA0L2049196@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130911200304.4F2393B7F3>