From owner-svn-ports-all@freebsd.org Fri Jun 28 15:51:29 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07EE815C4FDA; Fri, 28 Jun 2019 15:51:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A053676A82; Fri, 28 Jun 2019 15:51:28 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A702DCC; Fri, 28 Jun 2019 15:51:28 +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 x5SFpSUc053035; Fri, 28 Jun 2019 15:51:28 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5SFpSmm053034; Fri, 28 Jun 2019 15:51:28 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201906281551.x5SFpSmm053034@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 28 Jun 2019 15:51:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505289 - head/math/secp256k1 X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/math/secp256k1 X-SVN-Commit-Revision: 505289 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A053676A82 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 15:51:29 -0000 Author: amdmi3 Date: Fri Jun 28 15:51:28 2019 New Revision: 505289 URL: https://svnweb.freebsd.org/changeset/ports/505289 Log: - Switch to options helpers - Switch to new test framework Approved by: portmgr blanket Modified: head/math/secp256k1/Makefile Modified: head/math/secp256k1/Makefile ============================================================================== --- head/math/secp256k1/Makefile Fri Jun 28 15:49:00 2019 (r505288) +++ head/math/secp256k1/Makefile Fri Jun 28 15:51:28 2019 (r505289) @@ -22,31 +22,22 @@ OPTIONS_DEFINE= GMP JAVA OPTIONS_DEFAULT=GMP JAVA GMP_DESC= Use GMP bignum implementation +GMP_USES= localbase:ldflags GMP_LIB_DEPENDS=libgmp.so:math/gmp GMP_CONFIGURE_ON=--with-bignum=gmp GMP_CONFIGURE_OFF=--with-bignum=no JAVA_DESC= Build JNI bindings JAVA_CONFIGURE_ENABLE=jni +JAVA_USE= JAVA=yes +JAVA_CONFIGURE_ENV=JAVA_HOME="${JAVA_HOME}" GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-experimental --enable-module-ecdh \ --enable-endomorphism --enable-module-recovery INSTALL_TARGET= install-strip -.include - -.if ${PORT_OPTIONS:MGMP} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.endif - -.if ${PORT_OPTIONS:MJAVA} -USE_JAVA= yes -CONFIGURE_ENV+= JAVA_HOME="${JAVA_HOME}" -.endif - -check regression-test test: build +do-test: cd ${WRKSRC} && ./tests .include