diff --git a/network/nepenthes/nepenthes.conf b/network/nepenthes/nepenthes.conf index d86ae4087..800c7245b 100644 --- a/network/nepenthes/nepenthes.conf +++ b/network/nepenthes/nepenthes.conf @@ -40,3 +40,10 @@ if pkginstalled mysql ; then var_append confopt " " "--enable-mysql" var_append confopt ' ' "--with-mysql-include=$root$( pkgprefix includedir mysql )/mysql" fi + +# postgresql support +if pkginstalled postgresql ; then + pkgprefix -t postgresql + var_append confopt " " "--enable-postgre" + var_append confopt ' ' "--with-postgre-include=$root$( pkgprefix includedir postgresql )" +fi