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} |