Date: Wed, 5 Jul 2017 07:53:45 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445053 - head/security/testssl.sh Message-ID: <201707050753.v657rjVt076796@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Wed Jul 5 07:53:45 2017 New Revision: 445053 URL: https://svnweb.freebsd.org/changeset/ports/445053 Log: Only use enable-ec_nistp_64_gcc_128 on amd64 since it requires a 64-bit little-endian architecture and fix the build on !amd64 ecp_nistp224.c:43:9: error: unknown type name '__uint128_t' typedef __uint128_t uint128_t; /* nonstandard; implemented by gcc on 64-bit ^ PR: 220403 Reported by: dewayne@heuristicsystems.com.au Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D11436 MFH: 2017Q3 Modified: head/security/testssl.sh/Makefile Modified: head/security/testssl.sh/Makefile ============================================================================== --- head/security/testssl.sh/Makefile Wed Jul 5 06:45:56 2017 (r445052) +++ head/security/testssl.sh/Makefile Wed Jul 5 07:53:45 2017 (r445053) @@ -2,6 +2,7 @@ PORTNAME= testssl.sh PORTVERSION= 2.8 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= tobik@FreeBSD.org @@ -44,7 +45,6 @@ CONFIGURE_ARGS= --openssldir=${OPENSSLDIR} \ enable-camellia \ enable-idea \ enable-rfc3779 \ - enable-ec_nistp_64_gcc_128 \ experimental-jpake \ -DOPENSSL_USE_IPV6 CONFIGURE_ENV= PERL="${PERL}" @@ -57,6 +57,14 @@ CONFIGURE_WRKSRC= ${WRKSRC_openssl} # unknown reasons. MAKE_JOBS_UNSAFE= yes +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +CONFIGURE_ARGS+= enable-ec_nistp_64_gcc_128 +.else +CONFIGURE_ARGS+= no-ec_nistp_64_gcc_128 +.endif + post-patch: @${REINPLACE_CMD} -e '/elif test_openssl_suffix/d' \ -e 's@: \# 5. we tried.*$$@else OPENSSL="${PREFIX}/libexec/openssl.testssl.sh"@' \ @@ -71,4 +79,4 @@ do-install: @cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/etc @cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707050753.v657rjVt076796>