aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2009-06-18 06:59:54 +0800
committeracm <acm@FreeBSD.org>2009-06-18 06:59:54 +0800
commit8cf28b6151d4710fb2f0fc81ce2e4c7e46e1d08b (patch)
tree9c92b82a84e4391cd150ebaf642847a5da7c24b2 /lang
parent7589aac4a7e151939bc578c1c11cfafd4e2ce45d (diff)
downloadfreebsd-ports-gnome-8cf28b6151d4710fb2f0fc81ce2e4c7e46e1d08b.tar.gz
freebsd-ports-gnome-8cf28b6151d4710fb2f0fc81ce2e4c7e46e1d08b.tar.zst
freebsd-ports-gnome-8cf28b6151d4710fb2f0fc81ce2e4c7e46e1d08b.zip
- Fix with custom LOCALBASE (mysql, postgresql, qt and opengl gambas components)
Reported by: QAT
Diffstat (limited to 'lang')
-rw-r--r--lang/gambas2-base/Makefile.components15
1 files changed, 11 insertions, 4 deletions
diff --git a/lang/gambas2-base/Makefile.components b/lang/gambas2-base/Makefile.components
index 4931cd1a88a5..15b6d8a58f8f 100644
--- a/lang/gambas2-base/Makefile.components
+++ b/lang/gambas2-base/Makefile.components
@@ -32,15 +32,19 @@ CONFIGURE_ARGS+= --with-firebird-includes=${LOCALBASE}/include \
.if ${PKGNAMESUFFIX} == "-gb-db-mysql"
USE_MYSQL= yes
-CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include \
- --with-mysql-libraries=${LOCALBASE}/lib
+CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \
+ --with-mysql-libraries=${LOCALBASE}/lib/mysql
.endif
.if ${PKGNAMESUFFIX} == "-gb-db-postgresql"
USE_PGSQL= yes
-CONFIGURE_ARGS+= --with-postgresql-includes=${LOCALBASE}/include \
+CONFIGURE_ARGS+= --with-postgresql-includes="${PGSQL_INCLUDES}" \
--with-postgresql-libraries=${LOCALBASE}/lib
+
+PGSQL_INCLUDES= ${LOCALBASE}/include/postgresql \
+ ${LOCALBASE}/include/postgresql/server/catalog \
+ ${LOCALBASE}/include/postgresql/server
.endif
.if ${PKGNAMESUFFIX} == "-gb-db-odbc"
@@ -104,6 +108,9 @@ LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl
BUILD_DEPENDS+= gbi2:${PORTSDIR}/lang/gambas2-base
USE_GL= gl glu
+
+CONFIGURE_ARGS+= --with-qtopengl-includes=${LOCALBASE}/include \
+ --with-qtopengl-libraries=${LOCALBASE}/lib
.endif
.if ${PKGNAMESUFFIX} == "-gb-image"
@@ -184,7 +191,7 @@ BUILD_DEPENDS+= gbi2:${PORTSDIR}/lang/gambas2-base
USE_QT_VER= 3
.include <${PORTSDIR}/Mk/bsd.kde.mk>
-CONFIGURE_ARGS+= --with-qtopengl-includes=${LOCALBASE}/include \
+CONFIGURE_ARGS+= --with-qtopengl-includes=${LOCALBASE}/include/GL \
--with-qtopengl-libraries=${LOCALBASE}/lib
.endif