Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jan 2014 23:44:16 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185621: [PATCH] devel/bmake: fix packaging on pre-pkgNG systems
Message-ID:  <E1W1OKm-000LaI-9i@apollo.emma.line.org>
Resent-Message-ID: <201401092250.s09Mo0KA052809@freefall.freebsd.org>

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

>Number:         185621
>Category:       ports
>Synopsis:       [PATCH] devel/bmake: fix packaging on pre-pkgNG systems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 09 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 9.2-RELEASE FreeBSD 9.2-RELEASE #4: Thu Oct 17 06:54:18 CEST 2013
>Description:
Fix build with pre-pkgNG systems - @dirrmtry must be spelt out as unexec
rmdir ... there.

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

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

--- bmake-20140101.patch begins here ---
diff -ruN /usr/ports/devel/bmake/Makefile ./Makefile
--- /usr/ports/devel/bmake/Makefile	2014-01-09 21:31:25.000000000 +0100
+++ ./Makefile	2014-01-09 23:39:49.000000000 +0100
@@ -37,7 +37,7 @@
 	    	>${WRKDIR}/PLIST.share-mk
 	cd ${STAGEDIR}${PREFIX} ;					\
 	    ${FIND} share/mk -type d					\
-	    	| ${SORT} -r | ${SED} -e 's/^/@dirrmtry /'		\
+	    | ${SORT} -r | ${SED} -Ee 's}^(.*)$$}@unexec rmdir \1 2>/dev/null || :}'		\
 		>>${WRKDIR}/PLIST.share-mk
 	${ECHO_CMD} "r ${TMPPLIST}"			> ${WRKDIR}/ex.script
 	${ECHO_CMD} "/Insert PLIST.share-mk"		>> ${WRKDIR}/ex.script
--- bmake-20140101.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?E1W1OKm-000LaI-9i>