aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-11-05 10:51:21 +0800
committerlofi <lofi@FreeBSD.org>2005-11-05 10:51:21 +0800
commitf3e29ba44935cd6ce4ae60f5c059e69c6c25619c (patch)
tree94da184cb1e17b9880bebcb8379fd90af45fb35e /editors
parentc25d88ffc838644a5731b4ff6e025a6b6fcc5952 (diff)
downloadfreebsd-ports-gnome-f3e29ba44935cd6ce4ae60f5c059e69c6c25619c.tar.gz
freebsd-ports-gnome-f3e29ba44935cd6ce4ae60f5c059e69c6c25619c.tar.zst
freebsd-ports-gnome-f3e29ba44935cd6ce4ae60f5c059e69c6c25619c.zip
Make PREFIX-safe.
Diffstat (limited to 'editors')
-rw-r--r--editors/calligra/Makefile5
-rw-r--r--editors/koffice-kde3/Makefile5
-rw-r--r--editors/koffice-kde4/Makefile5
3 files changed, 15 insertions, 0 deletions
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 12caf4d920aa..dd9fb61c41ef 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/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
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
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 12caf4d920aa..dd9fb61c41ef 100644
--- a/editors/koffice-kde4/Makefile
+++ b/editors/koffice-kde4/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