aboutsummaryrefslogtreecommitdiff
path: root/editors/koffice-kde3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/koffice-kde3/Makefile')
-rw-r--r--editors/koffice-kde3/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile
index 12caf4d920aa..dd9fb61c41ef 100644
--- a/editors/koffice-kde3/Makefile
+++ b/editors/koffice-kde3/Makefile
@@ -44,6 +44,11 @@ USE_PGSQL= yes
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
+PG_INCDIR!= ${LOCALBASE}/bin/pg_config --includedir
+PG_LIBDIR!= ${LOCALBASE}/bin/pg_config --libdir
+
+CONFIGURE_ARGS+=--with-pgsqlincdir=${PG_INCDIR} --with-pgsqllibdir=${PG_LIBDIR}
+
.if ${OSVERSION} < 500035
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-kexi-main-keximainwindowimpl.cpp
.endif