aboutsummaryrefslogtreecommitdiff
path: root/security/libsodium/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-09 09:53:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-09 09:53:53 +0000
commit49bac7443bfe79879b436da5015642c9fab5d179 (patch)
treeb0ee63a2b158a8abcb0d6226c1104214efbdea41 /security/libsodium/Makefile
parent7b5e83a50f9b8333b364dadab33dac198451356d (diff)
downloadports-49bac7443bfe79879b436da5015642c9fab5d179.tar.gz
ports-49bac7443bfe79879b436da5015642c9fab5d179.zip
Notes
Diffstat (limited to 'security/libsodium/Makefile')
-rw-r--r--security/libsodium/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/security/libsodium/Makefile b/security/libsodium/Makefile
index 3f24271438f7..a3c43904c0ac 100644
--- a/security/libsodium/Makefile
+++ b/security/libsodium/Makefile
@@ -14,27 +14,17 @@ LICENSE= ISCL
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig compiler:c11
USE_LDCONFIG= yes
+TEST_TARGET= check
CONFIGURE_ARGS+= --enable-blocking-random
INSTALL_TARGET?= install-strip
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${ARCH} == i386 && ${OSVERSION} < 1000036
-# resolve undefined reference to __stack_chk_fail_local
-LDFLAGS+= -lssp_nonshared -Wl,--no-undefined
-.endif
-
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/THANKS ${STAGEDIR}${DOCSDIR}/
-regression-test: build
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} check)
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>