Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 18:07:32 +0200 (CEST)
From:      freebsd@nagilum.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        pmh@hausen.com
Subject:   ports/190077: stagify sysutils/env4801
Message-ID:  <20140521160732.9A22E2D949A@cakebox.homeunix.net>
Resent-Message-ID: <201405211610.s4LGA0Ym007273@freefall.freebsd.org>

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

>Number:         190077
>Category:       ports
>Synopsis:       stagify sysutils/env4801
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 16:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     freebsd@nagilum.org
>Release:        FreeBSD 9.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cakebox.tis 9.2-STABLE FreeBSD 9.2-STABLE #0 r264294M: Fri Apr 11 10:19:25 CEST 2014 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386

>Description:
	sysutils/env4801 doesn't support staging

>How-To-Repeat:

>Fix:
	Apply attached patch.

--- env4801.patch begins here ---
diff -Naur env4801.orig/Makefile env4801/Makefile
--- env4801.orig/Makefile	2014-01-22 18:00:46.000000000 +0100
+++ env4801/Makefile	2014-05-21 18:02:21.000000000 +0200
@@ -26,7 +26,6 @@
 OPTIONS_DEFAULT=	STATIC
 STATIC_DESC=	Build a statically linked executable
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -39,8 +38,8 @@
 		${FILESDIR}/env4801.sh > ${WRKSRC}/env4801.sh
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/env4801 ${PREFIX}/sbin
-	${INSTALL_SCRIPT} ${WRKSRC}/env4801.sh ${PREFIX}/etc/rc.d
+	${INSTALL_PROGRAM} ${WRKSRC}/env4801 ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${WRKSRC}/env4801.sh ${STAGEDIR}${PREFIX}/etc/rc.d
 
 post-install:
 	@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PKGMESSAGE}
--- env4801.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?20140521160732.9A22E2D949A>