Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 13:43:35 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428560 - head/security/nacl
Message-ID:  <201612141343.uBEDhZOZ032845@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Dec 14 13:43:35 2016
New Revision: 428560
URL: https://svnweb.freebsd.org/changeset/ports/428560

Log:
  security/nacl: fix post-patch (prevented c++ from working) and add LICENSE
  
  PR:		215277
  Submitted by:	gahr@
  Approved by:	johans@ (maintainer)

Modified:
  head/security/nacl/Makefile

Modified: head/security/nacl/Makefile
==============================================================================
--- head/security/nacl/Makefile	Wed Dec 14 12:19:31 2016	(r428559)
+++ head/security/nacl/Makefile	Wed Dec 14 13:43:35 2016	(r428560)
@@ -3,13 +3,15 @@
 
 PORTNAME=	nacl
 PORTVERSION=	20110221
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://hyperelliptic.org/nacl/
 
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	High speed cryptography library
 
+LICENSE=	PD
+
 USES=		tar:bzip2
 ALL_TARGET=	do
 USE_BINUTILS=	yes
@@ -21,9 +23,9 @@ HOSTNAME_CMD?=	/bin/hostname -s
 MYARCH=		${ARCH:S/i386/x86/}
 
 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} -e "s|$$| -fPIC|" ${WRKSRC}/okcompilers/c
+	@${REINPLACE_CMD} -e "s|gcc|${CC}|" ${WRKSRC}/okcompilers/c
+	@${REINPLACE_CMD} -e "s|g++|${CXX}|" ${WRKSRC}/okcompilers/cpp
 
 pre-build:
 	${RM} -r ${WRKSRC}/crypto_onetimeauth/poly1305/amd64



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