aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2016-12-14 21:43:35 +0800
committergahr <gahr@FreeBSD.org>2016-12-14 21:43:35 +0800
commit9a27787419f7f8945cc1ef5a1f461a205178481a (patch)
tree8485212184c202fde8c8091ca389ce9a4a6550a3 /security
parent36c64ec2a0fd0c3f814c59bc7064dfa8b3eb3e0f (diff)
downloadfreebsd-ports-gnome-9a27787419f7f8945cc1ef5a1f461a205178481a.tar.gz
freebsd-ports-gnome-9a27787419f7f8945cc1ef5a1f461a205178481a.tar.zst
freebsd-ports-gnome-9a27787419f7f8945cc1ef5a1f461a205178481a.zip
security/nacl: fix post-patch (prevented c++ from working) and add LICENSE
PR: 215277 Submitted by: gahr@ Approved by: johans@ (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/nacl/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/nacl/Makefile b/security/nacl/Makefile
index 5c9b192d1107..0c1aaf3d971b 100644
--- a/security/nacl/Makefile
+++ b/security/nacl/Makefile
@@ -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