Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 Apr 2004 18:59:55 +0200 (CEST)
From:      "Herbert J.Skuhra" <herbert.skuhra@gmx.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65092: security/gsasl - WITHOUT_NLS knob and use libgcrypt-devel
Message-ID:  <20040402165955.362C4269E@stavanger.norge>
Resent-Message-ID: <200404021700.i32H0S1x034610@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65092
>Category:       ports
>Synopsis:       security/gsasl - WITHOUT_NLS knob and use libgcrypt-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 02 09:00:27 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Herbert
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD stavanger.norge 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #1: Wed Mar 17 19:48:58 CET 2004 herbert@stavanger.norge:/usr/obj/usr/src/sys/PC1 i386


>Description:

This patch adds the missing WITHOUT_NLS knob reported by latest portlint
and depends on security/gcrypt-devel (instead of gcrypt) so that this port
can be installed when security/(gnutls|gnutls-devel) is installed.
Without this change gnutls and gnutls-devel breaks if gsasl is installed.

>How-To-Repeat:
	
>Fix:


diff -ruN gsasl.bak/Makefile gsasl/Makefile
--- gsasl.bak/Makefile	Sun Feb 29 15:30:47 2004
+++ gsasl/Makefile	Fri Apr  2 18:40:13 2004
@@ -18,7 +18,7 @@
 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
@@ -34,6 +34,10 @@
 
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	--disable-nls
+.endif
 
 .include <bsd.port.pre.mk>
 

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040402165955.362C4269E>