ports/183118: [patch] Mk/bsd.port.mk fix restage s/STAGE_DESTDIR/STAGEDIR/

ohauer at FreeBSD.org ohauer at FreeBSD.org
Sun Oct 20 08:30:01 UTC 2013


>Number:         183118
>Category:       ports
>Synopsis:       [patch] Mk/bsd.port.mk fix restage s/STAGE_DESTDIR/STAGEDIR/
>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:   Sun Oct 20 08:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     ohauer
>Release:        
>Organization:
>Environment:

>Description:
STAGE_DESTDIR is not defined

>How-To-Repeat:
cd $random port
make stage
touch work/stage/foobar
make restage
ls work/stage/foobar

>Fix:

--- bsd.port.mk.diff begins here ---
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk	(revision 330986)
+++ Mk/bsd.port.mk	(working copy)
@@ -4572,7 +4572,7 @@
 
 .if !target(restage)
 restage:
-	@${RM} -rf ${STAGE_DESTDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
+	@${RM} -rf ${STAGEDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
 	@cd ${.CURDIR} && ${MAKE} stage
 .endif
 
--- bsd.port.mk.diff ends here ---


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


More information about the freebsd-ports-bugs mailing list