FreeBSD Bugzilla – Attachment 169411 Details for
Bug 208874
devel/tclxml not PREFIX-safe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Replace /usr/local with ${PREFIX} and only build documentation, if needed
tclxml.patch (text/plain), 851 bytes, created by
Mikhail Teterin
on 2016-04-17 21:05:18 UTC
(
hide
)
Description:
Replace /usr/local with ${PREFIX} and only build documentation, if needed
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2016-04-17 21:05:18 UTC
Size:
851 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 413409) >+++ Makefile (working copy) >@@ -28,7 +28,7 @@ > PLIST_SUB= VER=${PORTVERSION} > > OPTIONS_DEFINE= DOCS >-MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/usr/local/lib >+MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/${PREFIX}/lib > > post-patch: > @${REINPLACE_CMD} -e '/^TCLSH_ENV[[:blank:]]*=/,/[^\]$$/d' \ >@@ -36,10 +36,14 @@ > @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ > ${WRKSRC}/configure > >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MDOCS} > post-install: > (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} doc) > @${MKDIR} ${STAGEDIR}${DOCSDIR} > (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) >+.endif > > check test: install > (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test)
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 208874
: 169411