ports/59151: [Port Fix] security/gnupg doesn't use USE_OPENLDAP correctly

Alex Dupre sysadmin at alexdupre.com
Mon Nov 10 23:10:14 UTC 2003

>Number:         59151
>Category:       ports
>Synopsis:       [Port Fix] security/gnupg doesn't use USE_OPENLDAP correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 10 15:10:12 PST 2003
>Originator:     Alex Dupre
>Release:        FreeBSD 5.1-CURRENT i386
System: FreeBSD armada.alexdupre.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Nov 8 12:21:11 CET 2003 alex at armada.alexdupre.com:/usr/obj/usr/src/sys/ARMADA i386

USE_OPENLDAP and WITH_LDAP are inverted.
Fix them and remove the second useless 'if'.



--- gnupg.diff begins here ---
--- Makefile.orig	Mon Nov 10 23:56:03 2003
+++ Makefile	Mon Nov 10 23:56:55 2003
@@ -35,10 +35,8 @@
 .if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
 LIB_DEPENDS+=	iconv.3:${PORTSDIR}/converters/libiconv
-.if defined(USE_OPENLDAP) || exists(${PREFIX}/lib/libldap.so.2)
-.if defined(WITH_LDAP)
+.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
 PLIST_SUB+=	WITH_LDAP="@comment "
--- gnupg.diff ends here ---


More information about the freebsd-ports-bugs mailing list