Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= libgcrypt |
4 |
PORTNAME= libgcrypt |
5 |
PORTVERSION= 1.5.3 |
5 |
PORTVERSION= 1.5.3 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= security |
7 |
CATEGORIES= security |
7 |
MASTER_SITES= ${MASTER_SITE_GNUPG} |
8 |
MASTER_SITES= ${MASTER_SITE_GNUPG} |
8 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
9 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 16-23
LICENSE_COMB= multi
Link Here
|
16 |
BUILD_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error |
17 |
BUILD_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error |
17 |
RUN_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error |
18 |
RUN_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error |
18 |
|
19 |
|
19 |
USE_BZIP2= yes |
20 |
USES= libtool:oldver tar:bzip2 |
20 |
USE_AUTOTOOLS= libtool |
|
|
21 |
USE_CSTD= gnu89 |
21 |
USE_CSTD= gnu89 |
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" |
23 |
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" |
Lines 28-34
DOCS= AUTHORS ChangeLog ChangeLog-2011
Link Here
|
28 |
INFO= gcrypt |
28 |
INFO= gcrypt |
29 |
PORTDOCS= * |
29 |
PORTDOCS= * |
30 |
|
30 |
|
31 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.options.mk> |
32 |
|
32 |
|
33 |
.if ${ARCH} == "powerpc" |
33 |
.if ${ARCH} == "powerpc" |
34 |
CONFIGURE_ARGS+= --disable-asm |
34 |
CONFIGURE_ARGS+= --disable-asm |
Lines 39-55
USE_GCC= any
Link Here
|
39 |
.elif ${ARCH} == "i386" |
39 |
.elif ${ARCH} == "i386" |
40 |
.if (${OSVERSION} < 900033) |
40 |
.if (${OSVERSION} < 900033) |
41 |
CONFIGURE_ARGS+= --disable-aesni-support |
41 |
CONFIGURE_ARGS+= --disable-aesni-support |
42 |
#workaround for FreeBSD 10.0 |
|
|
43 |
.elif (${OSVERSION} >= 1000000) |
44 |
CONFIGURE_ARGS+= --disable-asm |
45 |
.endif |
42 |
.endif |
46 |
.endif |
43 |
.endif |
47 |
|
44 |
|
48 |
post-patch: |
45 |
post-patch: |
49 |
@${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \ |
|
|
50 |
${WRKSRC}/ltmain.sh |
51 |
|
52 |
pre-configure: |
53 |
@${RM} -f ${WRKSRC}/doc/gcrypt.info* |
46 |
@${RM} -f ${WRKSRC}/doc/gcrypt.info* |
54 |
|
47 |
|
55 |
.if ${PORT_OPTIONS:MDOCS} |
48 |
.if ${PORT_OPTIONS:MDOCS} |
Lines 59-64
post-install:
Link Here
|
59 |
.endif |
52 |
.endif |
60 |
|
53 |
|
61 |
regression-test: build |
54 |
regression-test: build |
62 |
cd ${WRKSRC} && ${MAKE} check |
55 |
cd ${WRKSRC} && ${MAKE_CMD} check |
63 |
|
56 |
|
64 |
.include <bsd.port.post.mk> |
57 |
.include <bsd.port.mk> |