svn commit: r430931 - head/security/libsodium

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Jan 9 09:53:54 UTC 2017


Author: amdmi3
Date: Mon Jan  9 09:53:53 2017
New Revision: 430931
URL: https://svnweb.freebsd.org/changeset/ports/430931

Log:
  - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
  - Switch to new test framework
  
  Approved by:	portmgr blanket

Modified:
  head/security/libsodium/Makefile

Modified: head/security/libsodium/Makefile
==============================================================================
--- head/security/libsodium/Makefile	Mon Jan  9 09:52:13 2017	(r430930)
+++ head/security/libsodium/Makefile	Mon Jan  9 09:53:53 2017	(r430931)
@@ -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>


More information about the svn-ports-all mailing list