FreeBSD Bugzilla – Attachment 79530 Details for
Bug 114235
[patch] Allow dynamic linking in sysutils/env4801
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
env4801.diff
env4801.diff (text/plain), 983 bytes, created by
Henrik Brix Andersen
on 2007-07-03 11:10:02 UTC
(
hide
)
Description:
env4801.diff
Filename:
MIME Type:
Creator:
Henrik Brix Andersen
Created:
2007-07-03 11:10:02 UTC
Size:
983 bytes
patch
obsolete
>diff -urp /usr/ports/sysutils/env4801/Makefile sysutils/env4801/Makefile >--- /usr/ports/sysutils/env4801/Makefile 2005-12-18 15:22:22.000000000 +0100 >+++ sysutils/env4801/Makefile 2007-07-03 11:45:39.000000000 +0200 >@@ -7,6 +7,7 @@ > > PORTNAME= env4801 > PORTVERSION= 0.3 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= http://phk.freebsd.dk/soekris/env4801/ > DISTFILES= Makefile env4801.c >@@ -25,6 +26,15 @@ MAKE_ARGS= -DNOMAN > > PLIST_FILES= sbin/env4801 etc/rc.d/env4801.sh > >+OPTIONS= STATIC "Build a statically linked executable" On >+ >+.include <bsd.port.pre.mk> >+ >+post-patch: >+.ifdef(WITHOUT_STATIC) >+ @${REINPLACE_CMD} -e '/-static/d' ${WRKSRC}/Makefile >+.endif >+ > post-extract: > @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ > ${FILESDIR}/env4801.sh > ${WRKSRC}/env4801.sh >@@ -36,4 +46,4 @@ do-install: > post-install: > @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PKGMESSAGE} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114235
: 79530