aboutsummaryrefslogtreecommitdiff
path: root/databases/virtuoso/Makefile
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2013-05-09 09:06:30 +0000
committerMax Khon <fjoe@FreeBSD.org>2013-05-09 09:06:30 +0000
commitda75ea8695d1b6e1e5bb8dffaddb2fa18934bade (patch)
treeb269209ccdcb432e17f65b6a91a9fc8607dc9a84 /databases/virtuoso/Makefile
parent92221ce8dfb80927c5caba17fc162de007968dda (diff)
downloadports-da75ea8695d1b6e1e5bb8dffaddb2fa18934bade.tar.gz
ports-da75ea8695d1b6e1e5bb8dffaddb2fa18934bade.zip
Notes
Diffstat (limited to 'databases/virtuoso/Makefile')
-rw-r--r--databases/virtuoso/Makefile38
1 files changed, 23 insertions, 15 deletions
diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile
index 923e13760fea..8837409b4e0a 100644
--- a/databases/virtuoso/Makefile
+++ b/databases/virtuoso/Makefile
@@ -19,8 +19,7 @@ BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk\
flex>2.5.4:${PORTSDIR}/textproc/flex\
gperf>=3.0.3:${PORTSDIR}/devel/gperf\
unzip:${PORTSDIR}/archivers/unzip
-LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc\
- xml2.5:${PORTSDIR}/textproc/libxml2
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
.if defined(.PARSEDIR)
USE_GMAKE= yes
@@ -31,7 +30,8 @@ CONFIGURE_ARGS= --with-readline\
--without-jdk2\
--without-jdk3\
--without-jdk4\
- --with-iodbc=${LOCALBASE}\
+ --disable-hslookup\
+ --disable-wbxml2\
--enable-bpel-vad\
--with-layout=freebsd\
--datadir="${PREFIX}"\
@@ -47,13 +47,8 @@ GROUPS= virtuoso
CHECK_PORT= /usr/bin/nc -z localhost $$\1 2>\&1
-OPTIONS_DEFINE= IMAGEMAGICK KERBEROS LDAP
-# PERL "Perl hosting" off
-# PYTHON "Python hosting" off
-# MONO "Mono extension" off\
-# PHP4 "PHP4 extension" off\
-# PHP5 "PHP5 extension" off\
-# RUBY "Ruby hosting" off\
+OPTIONS_DEFINE= IMAGEMAGICK KERBEROS LDAP IODBC
+#OPTIONS_DEFINE+= MONO PERL PHP4 PHP5 PYTHON RUBY
post-patch:
${REINPLACE_CMD}\
@@ -82,9 +77,27 @@ CONFIGURE_ARGS+=--disable-imagemagick
PLIST_SUB+= WITH_IMAGEMAGICK="@comment "
.endif
+.if ${PORT_OPTIONS:MIODBC}
+CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE}
+LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc
+PLIST_SUB+= WITH_IODBC=""
+.else
+#CPPFLAGS+= -I../../libsrc/odbcsdk/include
+PLIST_SUB+= WITH_IODBC="@comment "
+.endif
+
.if ${PORT_OPTIONS:MKERBEROS}
CONFIGURE_ARGS+=--enable-krb=${LOCALBASE}
LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
+.else
+CONFIGURE_ARGS+=--disable-krb
+.endif
+
+.if ${PORT_OPTIONS:MLDAP}
+CONFIGURE_ARGS+=--enable-openldap=${LOCALBASE}
+USE_OPENLDAP= yes
+.else
+CONFIGURE_ARGS+=--disable-openldap
.endif
# XXX broken (does not build, requires gc.h)
@@ -92,11 +105,6 @@ LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
#CONFIGURE_ARGS+=--enable-mono
#.endif
-.if ${PORT_OPTIONS:MOPENLDAP}
-CONFIGURE_ARGS+=--enable-openldap=${LOCALBASE}
-USE_OPENLDAP= yes
-.endif
-
# XXX broken (requires perl to be built with -Dusemultiplicity)
#.if ${PORT_OPTIONS:MPERL}
#CONFIGURE_ARGS+=--enable-perl