Date: Mon, 9 Jan 2017 10:05:19 +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: r430937 - head/net/libsrtp Message-ID: <201701091005.v09A5JGi007686@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jan 9 10:05:19 2017 New Revision: 430937 URL: https://svnweb.freebsd.org/changeset/ports/430937 Log: - Switch to USES=localbase - Switch to USES=ssl - Simplify build by using ALL_TARGET - Switch to new test framework - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL Approved by: portmgr blanket Modified: head/net/libsrtp/Makefile Modified: head/net/libsrtp/Makefile ============================================================================== --- head/net/libsrtp/Makefile Mon Jan 9 10:04:06 2017 (r430936) +++ head/net/libsrtp/Makefile Mon Jan 9 10:05:19 2017 (r430937) @@ -17,33 +17,21 @@ GH_ACCOUNT= cisco GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-openssl -CPPFLAGS+= -I${OPENSSLBASE}/include -LIBS+= -L${OPENSSLBASE}/lib -USES= cpe gmake pathfix pkgconfig +USES= cpe localbase gmake pathfix pkgconfig ssl CPE_VENDOR= cisco USE_LDCONFIG= yes -USE_OPENSSL= yes + +ALL_TARGET= all shared_library +TEST_TARGET= runtest +TEST_ENV= LD_LIBRARY_PATH=${WRKSRC} .if ! defined(WITH_DEBUG) CONFIGURE_ARGS+=--disable-debug .endif -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015 -WITH_OPENSSL_PORT= yes -.endif - post-patch: @${REINPLACE_CMD} '/pkg-config.*openssl/d' ${WRKSRC}/configure -post-build: - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ - ${MAKEFILE} ${MAKE_ARGS} shared_library) - -check test runtest regression-test: build - ${SETENV} LD_LIBRARY_PATH=${WRKSRC} ${MAKE_CMD} -C ${WRKSRC} runtest - .include <bsd.port.pre.mk> .if ${SSL_DEFAULT:Mopenssl-devel}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701091005.v09A5JGi007686>