svn commit: r393529 - head/security/nacl
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Aug 4 16:37:43 UTC 2015
Author: amdmi3
Date: Tue Aug 4 16:37:42 2015
New Revision: 393529
URL: https://svnweb.freebsd.org/changeset/ports/393529
Log:
- Don't use / in sed regexps to allow paths, unbreaking cross-builds
Approved by: portmgr blanket
Modified:
head/security/nacl/Makefile
Modified: head/security/nacl/Makefile
==============================================================================
--- head/security/nacl/Makefile Tue Aug 4 16:10:57 2015 (r393528)
+++ head/security/nacl/Makefile Tue Aug 4 16:37:42 2015 (r393529)
@@ -23,9 +23,9 @@ HOSTNAME_CMD?= /bin/hostname -s
MYARCH= ${ARCH:S/i386/x86/:S/powerpc/ppc/}
post-patch:
- @${REINPLACE_CMD} -i -e "s/$$/ -fPIC/" ${WRKSRC}/okcompilers/c
- @${REINPLACE_CMD} -i -e "s/gcc/${CC}/" ${WRKSRC}/okcompilers/c
- @${REINPLACE_CMD} -i -e "s/c++/${CXX}/" ${WRKSRC}/okcompilers/cpp
+ @${REINPLACE_CMD} -i -e "s|$$| -fPIC|" ${WRKSRC}/okcompilers/c
+ @${REINPLACE_CMD} -i -e "s|gcc|${CC}|" ${WRKSRC}/okcompilers/c
+ @${REINPLACE_CMD} -i -e "s|c++|${CXX}|" ${WRKSRC}/okcompilers/cpp
pre-build:
${RM} -rf ${WRKSRC}/crypto_onetimeauth/poly1305/amd64
More information about the svn-ports-all
mailing list