From f3e29ba44935cd6ce4ae60f5c059e69c6c25619c Mon Sep 17 00:00:00 2001 From: lofi Date: Sat, 5 Nov 2005 02:51:21 +0000 Subject: Make PREFIX-safe. --- editors/calligra/Makefile | 5 +++++ editors/koffice-kde3/Makefile | 5 +++++ editors/koffice-kde4/Makefile | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'editors') 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 +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 +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 +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 -- cgit