aboutsummaryrefslogtreecommitdiff
path: root/lang/gambas/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-04-19 21:09:01 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-04-19 21:09:01 +0000
commit99278239a7bcba90e6b6ad582c25c2c15dfd4b12 (patch)
tree1ffd8d9d208d3cab4ff0abf03dc7d4da6e913abd /lang/gambas/Makefile
parent301d88e4b3f33d42874df6693c65b0eb7278da4c (diff)
downloadports-99278239a7bcba90e6b6ad582c25c2c15dfd4b12.tar.gz
ports-99278239a7bcba90e6b6ad582c25c2c15dfd4b12.zip
Notes
Diffstat (limited to 'lang/gambas/Makefile')
-rw-r--r--lang/gambas/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile
index 937e0869a85f..d5c8b067b366 100644
--- a/lang/gambas/Makefile
+++ b/lang/gambas/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= gambas
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.0.5
CATEGORIES= lang
MASTER_SITES= http://gambas.sourceforge.net/
@@ -28,7 +27,6 @@ CONFIGURE_ARGS= --with-conv-includes=${LOCALBASE}/include \
--with-moc=${X11BASE}/bin
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
-USE_MYSQL= yes
USE_REINPLACE= yes
LIBS2FIX= libqt-mt libkdecore libkdeui libDCOP libkio
@@ -37,6 +35,14 @@ SRC2FIX2= src/comp/gbc_archive.c src/comp/gbi.c \
src/exec/gbx_library.c src/share/gb_component.h
SRC2FIX3= Makefile.in src/exec/gbx_project.c
+.if defined(WITHOUT_MYSQL)
+CONFIGURE_ARGS+= --disable-mysql
+PLIST_SUB+= MYSQL="@comment "
+.else
+USE_MYSQL= yes
+PLIST_SUB+= MYSQL=""
+.endif
+
.if !defined(WITHOUT_SDL)
USE_SDL= mixer
CONFIGURE_ARGS+= --with-sdl-includes="`${SDL_CONFIG} --cflags`" \