diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-21 03:22:28 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-21 03:22:28 +0800 |
commit | 44526f62326e57fbae267125b76f10dd08eac88a (patch) | |
tree | eb1ba3851c7da3c595f1ce5e0a78e8da447c39ef /security | |
parent | 93b5f2186717f2e4bb5933ff9f0569c621c2a9ae (diff) | |
download | freebsd-ports-gnome-44526f62326e57fbae267125b76f10dd08eac88a.tar.gz freebsd-ports-gnome-44526f62326e57fbae267125b76f10dd08eac88a.tar.zst freebsd-ports-gnome-44526f62326e57fbae267125b76f10dd08eac88a.zip |
- Drop 8.x support
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'security')
-rw-r--r-- | security/libgcrypt/Makefile | 15 | ||||
-rw-r--r-- | security/libgcrypt/files/extra-patch-configure | 11 |
2 files changed, 1 insertions, 25 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile index f98b29fb756b..048a05d003e5 100644 --- a/security/libgcrypt/Makefile +++ b/security/libgcrypt/Makefile @@ -34,24 +34,12 @@ OPTIONS_DEFINE= DOCS .if ${ARCH} == "powerpc" CONFIGURE_ARGS+= --disable-asm - -.elif ${ARCH} == "i386" -.if (${OSVERSION} < 900033) -CONFIGURE_ARGS+= --disable-aesni-support -.endif - .endif post-patch: ${RM} -f ${WRKSRC}/doc/gcrypt.info* ${REINPLACE_CMD} -e 's|ALIGN (3)|ALIGN (2)|g' ${WRKSRC}/mpi/i386/*.S -# Fix build without ASM on 8.x/amd64 -.if ${OPSYS} == FreeBSD && ${ARCH} == "amd64" && ${OSVERSION} < 900000 -USE_GCC= any -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure -.endif - # Fix crash at cipher/salsa20.c module on amd64 .if ${ARCH} == "amd64" && exists(/usr/bin/clang) CFLAGS:= ${CFLAGS:N-O*} -O2 @@ -60,10 +48,9 @@ CFLAGS:= ${CFLAGS:N-O*} -O2 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.20.0.3 -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} -.endif regression-test: build cd ${WRKSRC} && ${MAKE_CMD} check diff --git a/security/libgcrypt/files/extra-patch-configure b/security/libgcrypt/files/extra-patch-configure deleted file mode 100644 index 9aa286ff144f..000000000000 --- a/security/libgcrypt/files/extra-patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2014-08-10 19:51:24.000000000 +0200 -+++ configure 2014-08-10 19:52:26.000000000 +0200 -@@ -16493,7 +16493,7 @@ - $as_echo "$gcry_cv_gcc_amd64_platform_as_ok" >&6; } - if test "$gcry_cv_gcc_amd64_platform_as_ok" = "yes" ; then - --$as_echo "#define HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS 1" >>confdefs.h -+$as_echo "#undef HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS" >>confdefs.h - - fi - fi |