Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2013 19:12:36 GMT
From:      Chris Dukes <chris.dukes.aix@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177381: [PATCH] databases/postgresql-server CONFIGURE_ARGS+= for LDAP should be in SERVER_ONLY section
Message-ID:  <201303251912.r2PJCaxE001196@red.freebsd.org>
Resent-Message-ID: <201303251920.r2PJK1u8002572@freefall.freebsd.org>

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

>Number:         177381
>Category:       ports
>Synopsis:       [PATCH] databases/postgresql-server CONFIGURE_ARGS+= for LDAP should be in SERVER_ONLY section
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 25 19:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Chris Dukes
>Release:        9.1p1
>Organization:
Squirrely Girl Produce
>Environment:
FreeBSD basement-00 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #0: Mon Mar 18 21:03:50 EDT 2013     root@basement-00:/usr/obj/zroot-basement-00/usr/src/sys/VIMAGE  amd64

>Description:
Trying to build postgresql92-client with LDAP enabled.
Fails because CONFIGURE_ARGS gets --with-ldap, but because it's a client the USE_OPENLDAP part in if defined (SERVER_ONLY) isn't touched.
>How-To-Repeat:
Enable LDAP option on postgresql92-client port.  Build.
>Fix:
Index: databases/postgresql92-server/Makefile
===================================================================
--- databases/postgresql92-server/Makefile	(revision 315228)
+++ databases/postgresql92-server/Makefile	(working copy)
@@ -158,8 +158,8 @@
 .  endif
 
 .  if ${PORT_OPTIONS:MLDAP}
+.    if defined (SERVER_ONLY)
 CONFIGURE_ARGS+=--with-ldap
-.    if defined (SERVER_ONLY)
 USE_OPENLDAP=	yes
 .    endif
 .  endif


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



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