diff --git a/network/ulogd/ulogd.conf b/network/ulogd/ulogd.conf index b04fbbb81..5b136604b 100644 --- a/network/ulogd/ulogd.conf +++ b/network/ulogd/ulogd.conf @@ -1,8 +1,8 @@ # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# Filename: package/.../ulogd2/ulogd2.conf -# Copyright (C) 2013 The OpenSDE Project +# Filename: package/.../ulogd/ulogd.conf +# Copyright (C) 2013 - 2014 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -17,3 +17,12 @@ hook_add preconf 5 'autoreconf -vfi' prefix= set_confopt + +# postgresql support +if pkginstalled -f postgres; then + var_append extraconfopt ' ' "--with-pgsql=$( pkgprefix -r postgresql )" + var_append extraconfopt ' ' "--with-pgsql-inc=$( pkgprefix -r includedir postgresql )" + var_append extraconfopt ' ' "--with-pgsql-lib=$( pkgprefix -r libdir postgresql )" +else + var_append extraconfopt ' ' "--without-pgsql" +fi