ports/65092: security/gsasl - WITHOUT_NLS knob and use libgcrypt-devel

Herbert J.Skuhra herbert.skuhra at gmx.at
Fri Apr 2 17:00:28 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list