pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/apr-util Explicitly disable pgsql if it is not s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4245aff3719c
branches:  trunk
changeset: 567712:4245aff3719c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Nov 23 22:57:52 2009 +0000

description:
Explicitly disable pgsql if it is not selected. Otherwise the shared library
may be installed, resulting in a PLIST mismatch.

diffstat:

 devel/apr-util/options.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6d86831be80d -r 4245aff3719c devel/apr-util/options.mk
--- a/devel/apr-util/options.mk Mon Nov 23 22:25:16 2009 +0000
+++ b/devel/apr-util/options.mk Mon Nov 23 22:57:52 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2009/06/10 15:58:29 seb Exp $
+# $NetBSD: options.mk,v 1.5 2009/11/23 22:57:52 rillig Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.apr-util
 PKG_SUPPORTED_OPTIONS= db4 ldap mysql pgsql sqlite3
@@ -32,6 +32,8 @@
 PLIST.pgsql=           yes
 CONFIGURE_ARGS+=       --with-pgsql
 .  include "../../mk/pgsql.buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-pgsql
 .endif
 
 .if !empty(PKG_OPTIONS:Msqlite3)



Home | Main Index | Thread Index | Old Index