Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2013 12:10:39 +0800 (CST)
From:      Gasol Wu <gasol.wu@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        miwi@FreeBSD.org
Subject:   ports/181672: [PATCH] devel/pear: [SUMMARIZE CHANGES]
Message-ID:  <20130830041039.58B4674D026@goingmarry.kkbox.com>
Resent-Message-ID: <201308300420.r7U4K0Er014641@freefall.freebsd.org>

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

>Number:         181672
>Category:       ports
>Synopsis:       [PATCH] devel/pear: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 30 04:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013
>Description:

take care about directory that contains a space

Refer to http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181668

Port maintainer (miwi@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- pear-1.9.4_3.patch begins here ---
diff -ruN /usr/ports/devel/pear/Makefile ./Makefile
--- /usr/ports/devel/pear/Makefile	2013-07-19 00:33:02.000000000 +0800
+++ ./Makefile	2013-08-30 11:40:43.000000000 +0800
@@ -3,7 +3,7 @@
 
 PORTNAME=	pear
 PORTVERSION=	1.9.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	http://miwibox.org/distfiles/
 
diff -ruN /usr/ports/devel/pear/bsd.pear.mk ./bsd.pear.mk
--- /usr/ports/devel/pear/bsd.pear.mk	2013-08-30 11:14:36.000000000 +0800
+++ ./bsd.pear.mk	2013-08-30 11:40:43.000000000 +0800
@@ -193,9 +193,9 @@
 	@cd ${WRKDIR}/inst/${PREFIX} && ${FIND} . -type f | ${SORT} \
 	| ${CUT} -c 3- >> ${PLIST}
 	@DIRS=`cd ${WRKDIR}/inst/${PREFIX} && ${FIND} . -type d | ${SORT} -r | \
-	${CUT} -c 3- | ${SED} -e 's,\\$$,\\\\$$,g'`; \
+	${CUT} -c 3- | ${SED} -e 's,\\$$,\\\\$$,g'`; IFS=$$'\n'; \
 	for d in $${DIRS}; do \
-		if [ ! -d ${LOCALBASE}/$${d} ]; then \
+		if [ ! -d "${LOCALBASE}/$${d}" ]; then \
 			${ECHO_CMD} "@dirrmtry $${d}" >> ${PLIST}; \
 		fi; \
 	done
--- pear-1.9.4_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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