From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 25 19:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1758EE68 for ; Mon, 25 Mar 2013 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D92BFB65 for ; Mon, 25 Mar 2013 19:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2PJK1Mp002573 for ; Mon, 25 Mar 2013 19:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2PJK1u8002572; Mon, 25 Mar 2013 19:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 25 Mar 2013 19:20:01 GMT Resent-Message-Id: <201303251920.r2PJK1u8002572@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Dukes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B4E88AF2 for ; Mon, 25 Mar 2013 19:12:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A48B2B0E for ; Mon, 25 Mar 2013 19:12:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2PJCade001197 for ; Mon, 25 Mar 2013 19:12:36 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2PJCaxE001196; Mon, 25 Mar 2013 19:12:36 GMT (envelope-from nobody) Message-Id: <201303251912.r2PJCaxE001196@red.freebsd.org> Date: Mon, 25 Mar 2013 19:12:36 GMT From: Chris Dukes To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177381: [PATCH] databases/postgresql-server CONFIGURE_ARGS+= for LDAP should be in SERVER_ONLY section X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 19:20:02 -0000 >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: