ports/190077: stagify sysutils/env4801
freebsd at nagilum.org
freebsd at nagilum.org
Wed May 21 16:10:01 UTC 2014
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list