Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 18:25:53 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190029: [patch] Add staging support to www/dalbum
Message-ID:  <201405201825.s4KIPr9U011896@cgiserv.freebsd.org>
Resent-Message-ID: <201405201830.s4KIU1oY007766@freefall.freebsd.org>

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

>Number:         190029
>Category:       ports
>Synopsis:       [patch] Add staging support to www/dalbum
>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:   Tue May 20 18:30:01 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@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/dalbum.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/dalbum/Makefile b/www/dalbum/Makefile
index f1478ef..cdca6b8 100644
--- a/www/dalbum/Makefile
+++ b/www/dalbum/Makefile
@@ -21,7 +21,6 @@ PLIST_SUB+=	DALBUM_DIR=${DALBUM_DIR}
 SUB_LIST+=	DALBUM_DIR=${DALBUM_DIR}
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 do-extract:
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} -p ${WRKSRC}
@@ -35,8 +34,8 @@ post-patch:
 	@${RM} ${WRKSRC}/config/config.php.*
 
 do-install:
-	@${MKDIR} -m 0775 ${PREFIX}/${DALBUM_DIR}
-	@cd ${WRKSRC} && ${FIND} . -print | ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DALBUM_DIR}
+	@${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
+	@cd ${WRKSRC} && ${FIND} . -print | ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
 
 post-install:
 	@${CAT} ${PKGMESSAGE}


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



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