Date: Tue, 10 Jan 2017 11:42:38 +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: r431077 - head/security/libscrypt Message-ID: <201701101142.v0ABgcMk048671@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jan 10 11:42:38 2017 New Revision: 431077 URL: https://svnweb.freebsd.org/changeset/ports/431077 Log: - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL - Switch to new test framework - Switch to options helpers Approved by: portmgr blanket Modified: head/security/libscrypt/Makefile Modified: head/security/libscrypt/Makefile ============================================================================== --- head/security/libscrypt/Makefile Tue Jan 10 11:41:57 2017 (r431076) +++ head/security/libscrypt/Makefile Tue Jan 10 11:42:38 2017 (r431077) @@ -12,12 +12,12 @@ COMMENT= C library for the scrypt key de LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= technion -MAKE_ARGS+= CC="${CC}" LIBDIR="${PREFIX}"/lib +MAKE_ARGS= CC="${CC}" LIBDIR="${PREFIX}"/lib +TEST_TARGET= check PLIST_FILES= include/libscrypt.h \ lib/libscrypt.so \ @@ -27,29 +27,18 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS -.include <bsd.port.pre.mk> - post-patch: @${REINPLACE_CMD} -e 's|?=-|+=-|; s|-O2 ||' ${WRKSRC}/Makefile - -.if ${ARCH} == i386 && ${COMPILER_TYPE} == gcc && ${OSVERSION} < 1000036 - @${REINPLACE_CMD} -e 's|-lscrypt|& -lssp_nonshared|; \ - s|\.version|&,-lssp_nonshared|' ${WRKSRC}/Makefile -.else @${REINPLACE_CMD} -e 's|-fstack-protector ||' ${WRKSRC}/Makefile -.endif - @${REINPLACE_CMD} -e \ 's|strcpy(mcf2, mcf);|strlcpy(mcf2, mcf, SCRYPT_MCF_LEN);|' \ ${WRKSRC}/main.c -regression-test: build - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check) - post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0 +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701101142.v0ABgcMk048671>