diff --git a/network/ulogd/ulogd.conf b/network/ulogd/ulogd.conf index 43806b70b..5bc3a16e9 100644 --- a/network/ulogd/ulogd.conf +++ b/network/ulogd/ulogd.conf @@ -24,7 +24,7 @@ for tuple in $tuples; do tuplepkg=${tuple%:*} tupledb=${tuple#*:} - if pkginstalled -f postgres; then + if pkginstalled -f $tuplepkg; then var_append extraconfopt ' ' "--with-$tupledb=$( pkgprefix -r $tuplepkg )" var_append extraconfopt ' ' "--with-$tupledb-inc=$( pkgprefix -r includedir $tuplepkg )" var_append extraconfopt ' ' "--with-$tupledb-lib=$( pkgprefix -r libdir $tuplepkg )"