- OPTION'ify and fix Kerberos support (does not build with Heimdal).

- Add BUILD_DEPENDS on gawk.
- Remove debugging junk from startup script.
- Bump PORTREVISION.
This commit is contained in:
Max Khon 2006-12-11 20:25:03 +00:00
parent c7e00f34b9
commit 749b69c58d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179521
3 changed files with 8 additions and 13 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= virtuoso
PORTVERSION= 4.5.7
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -19,13 +20,14 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-readline\
--with-iodbc=${LOCALBASE}\
--enable-bpel-vad\
--enable-krb\
--disable-jdbc
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"\
LDFLAGS="-L${LOCALBASE}/lib"
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc
OPTIONS= IMAGEMAGICK "ImageMagick support" off\
KERBEROS "Kerberos extension" off\
OPENLDAP "OpenLDAP support" off
# JDBC "JDBC driver" off\
# PERL "Perl hosting" off
@ -38,7 +40,6 @@ OPTIONS= IMAGEMAGICK "ImageMagick support" off\
post-patch:
${REINPLACE_CMD}\
-e 's,-lpthreads,${PTHREAD_LIBS},g'\
-e 's,-lgssapi_krb5 -lk5crypto -lkrb5,-lasn1 -lroken -lcrypto -lcrypt,g'\
-e 's,-lruby,-lruby${RUBY_VER:S,.,,},g'\
${WRKSRC}/configure
@ -64,6 +65,11 @@ PLIST_SUB+= WITH_IMAGEMAGICK="@comment "
#JAVA_BUILD= yes
#.endif
.if defined(WITH_KERBEROS)
CONFIGURE_ARGS+=--enable-krb=${LOCALBASE}
LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5
.endif
# XXX broken (does not build, requires gc.h)
#.if defined(WITH_MONO)
#CONFIGURE_ARGS+=--enable-mono

View File

@ -1,14 +1,5 @@
--- configure.orig Tue Dec 5 16:15:01 2006
+++ configure Sat Dec 9 19:38:53 2006
@@ -31317,7 +31317,7 @@
-for ac_header in krb5.h gssapi/gssapi.h gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
+for ac_header in krb5.h gssapi/gssapi.h gssapi/gssapi_generic.h gssapi/gssapi_krb5.h gssapi.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -31793,8 +31793,8 @@
openldap_LDFLAGS="-lldap -llber"
LDFLAGS="$LDFLAGS $openldap_LDFLAGS" ;;

View File

@ -43,8 +43,6 @@ restart_cmd="virtuoso_command restart"
reload_cmd="virtuoso_command reload"
status_cmd="virtuoso_command status"
initdb_cmd="virtuoso_initdb"
virtuoso_command()
{
su -l ${virtuoso_user} -c "exec ${command} ${command_args} ${rc_arg}"