View | Details | Raw Unified | Return to bug 192555 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/security/libgcrypt/Makefile (-5 / +7 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	libgcrypt
3
PORTNAME=	libgcrypt
4
PORTVERSION=	1.6.1
4
PORTVERSION=	1.6.1
5
PORTREVISION=	3
5
PORTREVISION=	4
6
CATEGORIES=	security
6
CATEGORIES=	security
7
MASTER_SITES=	${MASTER_SITE_GNUPG}
7
MASTER_SITES=	${MASTER_SITE_GNUPG}
8
MASTER_SITE_SUBDIR=	${PORTNAME}
8
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 41-50 Link Here
41
CONFIGURE_ARGS+=	--disable-aesni-support
41
CONFIGURE_ARGS+=	--disable-aesni-support
42
.endif
42
.endif
43
43
44
.elif ${ARCH} == "amd64"
45
.if (${OSVERSION} < 900000)
46
USE_GCC=	yes
47
.endif
48
CONFIGURE_ARGS+=	--disable-drng-support
44
CONFIGURE_ARGS+=	--disable-drng-support
49
45
50
.endif
46
.endif
Lines 53-58 Link Here
53
	${RM} -f ${WRKSRC}/doc/gcrypt.info*
49
	${RM} -f ${WRKSRC}/doc/gcrypt.info*
54
	${REINPLACE_CMD} -e 's|ALIGN (3)|ALIGN (2)|g' ${WRKSRC}/mpi/i386/*.S
50
	${REINPLACE_CMD} -e 's|ALIGN (3)|ALIGN (2)|g' ${WRKSRC}/mpi/i386/*.S
55
51
52
# Fix build without ASM on 8.x/amd64
53
.if ${OPSYS} == FreeBSD && ${ARCH} == "amd64" && ${OSVERSION} < 900000
54
USE_GCC=	any
55
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-configure
56
.endif
57
56
.if ${PORT_OPTIONS:MDOCS}
58
.if ${PORT_OPTIONS:MDOCS}
57
post-install:
59
post-install:
58
	${MKDIR} ${STAGEDIR}${DOCSDIR}
60
	${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)/usr/ports/security/libgcrypt/files/extra-patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2014-08-10 19:51:24.000000000 +0200
2
+++ configure	2014-08-10 19:52:26.000000000 +0200
3
@@ -16493,7 +16493,7 @@
4
 $as_echo "$gcry_cv_gcc_amd64_platform_as_ok" >&6; }
5
   if test "$gcry_cv_gcc_amd64_platform_as_ok" = "yes" ; then
6
 
7
-$as_echo "#define HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS 1" >>confdefs.h
8
+$as_echo "#undef HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS" >>confdefs.h
9
 
10
   fi
11
 fi

Return to bug 192555