From owner-svn-ports-head@freebsd.org Mon Jan 9 10:05:20 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D985ACA604D; Mon, 9 Jan 2017 10:05:20 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9918125C; Mon, 9 Jan 2017 10:05:20 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v09A5JuQ007687; Mon, 9 Jan 2017 10:05:19 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v09A5JGi007686; Mon, 9 Jan 2017 10:05:19 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701091005.v09A5JGi007686@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 9 Jan 2017 10:05:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430937 - head/net/libsrtp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 10:05:21 -0000 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 - -.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 .if ${SSL_DEFAULT:Mopenssl-devel}