View | Details | Raw Unified | Return to bug 170390
Collapse All | Expand All

(-)Makefile (-8 / +11 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	gnutls
8
PORTNAME=	gnutls
9
PORTVERSION=	2.12.18
9
PORTVERSION=	2.12.18
10
PORTREVISION=	1
10
CATEGORIES=	security net
11
CATEGORIES=	security net
11
MASTER_SITES=	${MASTER_SITE_GNU} \
12
MASTER_SITES=	${MASTER_SITE_GNU} \
12
		${MASTER_SITE_GNUPG}
13
		${MASTER_SITE_GNUPG}
Lines 15-29 Link Here
15
MAINTAINER=	novel@FreeBSD.org
16
MAINTAINER=	novel@FreeBSD.org
16
COMMENT=	GNU Transport Layer Security library
17
COMMENT=	GNU Transport Layer Security library
17
18
18
LIB_DEPENDS=	nettle.4:${PORTSDIR}/security/nettle \
19
LIB_DEPENDS=	nettle:${PORTSDIR}/security/nettle \
19
		gpg-error.0:${PORTSDIR}/security/libgpg-error \
20
		gpg-error:${PORTSDIR}/security/libgpg-error \
20
		p11-kit.0:${PORTSDIR}/security/p11-kit
21
		p11-kit:${PORTSDIR}/security/p11-kit
21
22
22
CONFLICTS=	gnutls-devel-[0-9]*
23
CONFLICTS=	gnutls-devel-[0-9]*
23
24
24
USE_BZIP2=	yes
25
USE_BZIP2=	yes
25
USE_ICONV=	yes
26
USE_ICONV=	yes
26
USE_GNOME=	pkgconfig ltverhack gnomehack
27
USE_PKGCONFIG=	build
28
USE_GNOME=	ltverhack gnomehack
27
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
28
MAKE_JOBS_SAFE=	yes
30
MAKE_JOBS_SAFE=	yes
29
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
Lines 36-43 Link Here
36
38
37
.include <bsd.port.pre.mk>
39
.include <bsd.port.pre.mk>
38
40
39
.if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.4)) && !defined(WITHOUT_LIBTASN1)
41
.if (defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so)) && !defined(WITHOUT_LIBTASN1)
40
LIB_DEPENDS+=	tasn1.4:${PORTSDIR}/security/libtasn1
42
LIB_DEPENDS+=		tasn1:${PORTSDIR}/security/libtasn1
41
.else
43
.else
42
CONFIGURE_ARGS+=	--with-included-libtasn1
44
CONFIGURE_ARGS+=	--with-included-libtasn1
43
.endif
45
.endif
Lines 45-52 Link Here
45
.if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO)
47
.if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO)
46
LIB_DEPENDS+=		lzo2:${PORTSDIR}/archivers/lzo2
48
LIB_DEPENDS+=		lzo2:${PORTSDIR}/archivers/lzo2
47
CONFIGURE_ARGS+=	--with-lzo
49
CONFIGURE_ARGS+=	--with-lzo
48
.else
49
CONFIGURE_ARGS+=	--with-lzo=no
50
.endif
50
.endif
51
51
52
.if defined(WITHOUT_CXX)
52
.if defined(WITHOUT_CXX)
Lines 67-72 Link Here
67
PORTDOCS=		AUTHORS NEWS README THANKS
67
PORTDOCS=		AUTHORS NEWS README THANKS
68
PORTEXAMPLES=		*.c
68
PORTEXAMPLES=		*.c
69
69
70
post-patch:
71
	@${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e 's|[$$][(]LTLIBPTHREAD[)]||g'
72
70
post-install:
73
post-install:
71
.if !defined (NOPORTEXAMPLES)
74
.if !defined (NOPORTEXAMPLES)
72
	@${MKDIR} ${EXAMPLESDIR}
75
	@${MKDIR} ${EXAMPLESDIR}

Return to bug 170390