Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 16:37:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393529 - head/security/nacl
Message-ID:  <201508041637.t74GbheW087561@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508041637.t74GbheW087561>