aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-01-11 00:42:07 +0800
committerbapt <bapt@FreeBSD.org>2016-01-11 00:42:07 +0800
commit39487845dd30dc81f9a12dcf597c8c75171c4096 (patch)
tree626b935440bff1aed1eec70d6ace48b7ee54f54b /lang
parent834e21da3d78bade53f6940b62c4b1d11ff57062 (diff)
downloadfreebsd-ports-gnome-39487845dd30dc81f9a12dcf597c8c75171c4096.tar.gz
freebsd-ports-gnome-39487845dd30dc81f9a12dcf597c8c75171c4096.tar.zst
freebsd-ports-gnome-39487845dd30dc81f9a12dcf597c8c75171c4096.zip
Fix build with postgresql, convert to USES=firebird
Diffstat (limited to 'lang')
-rw-r--r--lang/harbour/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/harbour/Makefile b/lang/harbour/Makefile
index 41a9173256ae..cc58a00217af 100644
--- a/lang/harbour/Makefile
+++ b/lang/harbour/Makefile
@@ -86,6 +86,9 @@ MAKE_ENV= HB_ARCHITECTURE=${HB_ARCH} \
HB_USER_CFLAGS=${HB_USER_CFLAGS} \
HB_USER_LDFLAGS=${HB_USER_LDFLAGS}
+PGSQL_USES= pgsql
+FIREBIRD_USES= firebird
+
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -95,7 +98,6 @@ MAKE_ENV+= HB_INSTALL_DOC=no
.endif
.if ${PORT_OPTIONS:MFIREBIRD}
-USE_FIREBIRD= yes
MAKE_ENV+= HB_WITH_FIREBIRD=nolocal
.else
MAKE_ENV+= HB_WITH_FIREBIRD=no
@@ -118,7 +120,6 @@ MAKE_ENV+= HB_WITH_MYSQL=no
.endif
.if ${PORT_OPTIONS:MPGSQL}
-USES+= pgsql
MAKE_ENV+= HB_WITH_PGSQL=nolocal
.else
MAKE_ENV+= HB_WITH_PGSQL=no