diff options
author | pav <pav@FreeBSD.org> | 2004-04-03 18:09:28 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-03 18:09:28 +0000 |
commit | a3692fe5b8db3766e11fa8459d57f36c64f5a445 (patch) | |
tree | 81b2e375f74f8b2794df9f9b3873a41430edb0b4 /security | |
parent | 869ea13693a3f8586501eacb6680e4789aa7fb01 (diff) | |
download | FreeBSD-ports-a3692fe5b8db3766e11fa8459d57f36c64f5a445.zip FreeBSD-ports-a3692fe5b8db3766e11fa8459d57f36c64f5a445.tar.gz |
- Switch gcypt dependency to -devel port so it does not conflicts with gnutls
- Support WITHOUT_NLS knob
PR: ports/65092 (based on)
Submitted by: Herbert <herbert.skuhra@gmx.at>
Diffstat (limited to 'security')
-rw-r--r-- | security/gsasl/Makefile | 13 | ||||
-rw-r--r-- | security/gsasl/pkg-plist | 2 |
2 files changed, 11 insertions, 4 deletions
diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile index aac653a..aaf3fef 100644 --- a/security/gsasl/Makefile +++ b/security/gsasl/Makefile @@ -8,7 +8,7 @@ PORTNAME= gsasl PORTVERSION= 0.0.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://josefsson.org/${PORTNAME}/releases/ \ ${MASTER_SITE_GNU_ALPHA} @@ -18,10 +18,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= GNU SASL Library LIB_DEPENDS= idn.13:${PORTSDIR}/devel/libidn \ - gcrypt.6:${PORTSDIR}/security/libgcrypt \ + gcrypt.10:${PORTSDIR}/security/libgcrypt-devel \ ntlm.0:${PORTSDIR}/security/libntlm -USE_GETTEXT= yes USE_PERL5_BUILD= yes USE_GNOME= gnomehack gnometarget pkgconfig USE_GETOPT_LONG= yes @@ -32,6 +31,14 @@ INSTALLS_SHLIB= yes INFO= gsasl +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib diff --git a/security/gsasl/pkg-plist b/security/gsasl/pkg-plist index 0d002d0..ec023b4 100644 --- a/security/gsasl/pkg-plist +++ b/security/gsasl/pkg-plist @@ -8,6 +8,6 @@ libdata/pkgconfig/libgsasl.pc %%PORTDOCS%%%%DOCSDIR%%/reference/c4.html %%PORTDOCS%%%%DOCSDIR%%/reference/gsasl-gsasl.html %%PORTDOCS%%%%DOCSDIR%%/reference/index.html -share/locale/sv/LC_MESSAGES/gsasl.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gsasl.mo %%PORTDOCS%%@dirrm %%DOCSDIR%%/reference %%PORTDOCS%%@dirrm %%DOCSDIR%% |