Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 21:35:37 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190287: [patch] Add staging support to www/netoffice
Message-ID:  <201405262135.s4QLZbjV000389@cgiserv.freebsd.org>
Resent-Message-ID: <201405262140.s4QLe00V098746@freefall.freebsd.org>

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

>Number:         190287
>Category:       ports
>Synopsis:       [patch] Add staging support to www/netoffice
>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 26 21:40: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@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/netoffice.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/netoffice/Makefile b/www/netoffice/Makefile
index f9749d4..3cb7774 100644
--- a/www/netoffice/Makefile
+++ b/www/netoffice/Makefile
@@ -20,10 +20,9 @@ WEBGRP?=	www
 APACHEDIR=	${LOCALBASE}/www/
 INSTALLDIR=	${APACHEDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${INSTALLDIR}
+	${MKDIR} ${STAGEDIR}${INSTALLDIR}
 	cd ${WRKSRC}; ${FIND} . \
-		| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
+		| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${STAGEDIR}${INSTALLDIR}
 
 .include <bsd.port.mk>


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



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