svn commit: r397388 - in head/security/libgcrypt: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Sep 20 19:22:29 UTC 2015


Author: amdmi3
Date: Sun Sep 20 19:22:28 2015
New Revision: 397388
URL: https://svnweb.freebsd.org/changeset/ports/397388

Log:
  - Drop 8.x support
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Deleted:
  head/security/libgcrypt/files/extra-patch-configure
Modified:
  head/security/libgcrypt/Makefile

Modified: head/security/libgcrypt/Makefile
==============================================================================
--- head/security/libgcrypt/Makefile	Sun Sep 20 19:22:12 2015	(r397387)
+++ head/security/libgcrypt/Makefile	Sun Sep 20 19:22:28 2015	(r397388)
@@ -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


More information about the svn-ports-all mailing list