ports/189967: [patch] Add staging support to www/photo_gallery
Joseph Benden
joe at thrallingpenguin.com
Mon May 19 19:10:00 UTC 2014
>Number: 189967
>Category: ports
>Synopsis: [patch] Add staging support to www/photo_gallery
>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: Mon May 19 19:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Joseph Benden
>Release: FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root at lucy:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Adds staging support to www/photo_gallery.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/photo_gallery/Makefile b/www/photo_gallery/Makefile
index 0e7d563..fecebf8 100644
--- a/www/photo_gallery/Makefile
+++ b/www/photo_gallery/Makefile
@@ -20,10 +20,9 @@ USE_APACHE_RUN= 22+
USES= perl5
NO_BUILD= yes
-NO_STAGE= yes
do-install:
- ${MKDIR} ${WWWDIR}/
+ ${MKDIR} ${STAGEDIR}${WWWDIR}/
@cd ${WRKSRC}; ${FIND} . \
- | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list