2 |
|
# Date created: 13 Nov 2002 |
3 |
|
# Whom: Sergei Kolobov <sergei@kolobov.com> |
4 |
|
# |
5 |
< |
# $MidnightBSD: mports/security/gnutls/Makefile,v 1.3 2007/08/01 20:30:36 laffer1 Exp $ |
5 |
> |
# $MidnightBSD: mports/security/gnutls/Makefile,v 1.4 2007/10/17 04:28:04 laffer1 Exp $ |
6 |
|
# $FreeBSD: ports/security/gnutls/Makefile,v 1.42 2006/09/08 18:24:27 novel Exp $ |
7 |
|
# |
8 |
|
|
9 |
|
PORTNAME= gnutls |
10 |
< |
PORTVERSION= 1.4.5 |
10 |
> |
PORTVERSION= 1.6.3 |
11 |
|
CATEGORIES= security net |
12 |
|
MASTER_SITES= http://josefsson.org/gnutls/releases/ \ |
13 |
|
ftp://ftp.gnutls.org/pub/gnutls/ \ |
20 |
|
COMMENT= GNU Transport Layer Security library |
21 |
|
|
22 |
|
LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt \ |
23 |
< |
gpg-error.3:${PORTSDIR}/security/libgpg-error |
23 |
> |
gpg-error.0:${PORTSDIR}/security/libgpg-error |
24 |
|
|
25 |
– |
CONFLICTS= gnutls-devel-[0-9]* |
26 |
– |
|
25 |
|
USE_BZIP2= yes |
26 |
|
USE_ICONV= yes |
27 |
< |
USE_GNOME= pkgconfig |
27 |
> |
USE_GNOME= pkgconfig ltverhack |
28 |
|
GNU_CONFIGURE= yes |
29 |
< |
INSTALLS_SHLIB= yes |
29 |
> |
USE_LDCONFIG= yes |
30 |
> |
USE_AUTOTOOLS= libtool:15 |
31 |
> |
USE_GCC= 3.4+ |
32 |
|
CPPFLAGS+= -I${LOCALBASE}/include |
33 |
|
LDFLAGS+= -L${LOCALBASE}/lib |
34 |
< |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ |
35 |
< |
MAKEINFO="${LOCALBASE}/bin/makeinfo" |
34 |
> |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" |
35 |
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0 |
36 |
|
CONFIGURE_ARGS+= --with-included-lzo \ |
37 |
|
--infodir="${PREFIX}/info" --mandir="${PREFIX}/man/" |
38 |
|
MANCOMPRESSED= no |
39 |
|
|
40 |
|
.include <bsd.port.pre.mk> |
41 |
< |
.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.8) |
42 |
< |
LIB_DEPENDS+= opencdk.8:${PORTSDIR}/security/opencdk |
41 |
> |
.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.9) |
42 |
> |
LIB_DEPENDS+= opencdk.9:${PORTSDIR}/security/opencdk |
43 |
|
.endif |
44 |
|
|
45 |
|
.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3) |
46 |
|
LIB_DEPENDS+= tasn1.3:${PORTSDIR}/security/libtasn1 |
47 |
+ |
.endif |
48 |
+ |
|
49 |
+ |
.if defined(WITHOUT_CXX) |
50 |
+ |
CONFIGURE_ARGS+= --disable-cxx |
51 |
+ |
PLIST_SUB+= CXX="@comment " |
52 |
+ |
.else |
53 |
+ |
PLIST_SUB+= CXX="" |
54 |
|
.endif |
55 |
|
|
56 |
|
.if defined(WITHOUT_NLS) |