- Remove needless dependencies
- Convert to options helpers
This commit is contained in:
parent
0697fbeccb
commit
e461462e97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342363
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= redland
|
||||
PORTVERSION= 1.0.17
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://download.librdf.org/source/
|
||||
|
||||
@ -18,39 +19,26 @@ LIB_DEPENDS= libraptor2.so:${PORTSDIR}/textproc/raptor2 \
|
||||
librasqal.so:${PORTSDIR}/textproc/rasqal
|
||||
|
||||
USE_AUTOTOOLS= libltdl
|
||||
USE_GNOME= libxml2 lthack
|
||||
USE_OPENSSL= yes
|
||||
USE_PERL5= build
|
||||
USES= gmake pathfix perl5 pkgconfig shebangfix
|
||||
SHEBANG_FILES= scripts/touch-mtime.pl
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-raptor=system \
|
||||
--with-threestore=no
|
||||
CONFIGURE_ARGS= --with-threestore=no
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= BDB THREADS
|
||||
OPTIONS_DEFAULT= BDB
|
||||
|
||||
BDB_USE= BDB= yes
|
||||
BDB_CONFIGURE_OFF= --with-bdb=no
|
||||
|
||||
THREADS_CONFIGURE_ENABLE= threads
|
||||
|
||||
# MYSQL "Use MySQL instead of BDB" off \
|
||||
# PGSQL "Use PgSQL instead of BDB" off \
|
||||
# SQLITE "Use SQLite instead of BDB" off \
|
||||
# VIRTUOSO "Use Virtoso instead of BDB" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MBDB}
|
||||
USE_BDB= yes
|
||||
WITH_BDB_HIGHEST= yes
|
||||
INVALID_BDB_VER= 2
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-bdb=no
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTHREADS}
|
||||
CONFIGURE_ARGS+= --enable-threads
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-threads
|
||||
.endif
|
||||
|
||||
#.if defined(WITH_MYSQL)
|
||||
#USE_MYSQL= yes
|
||||
#CONFIGURE_ARGS+=--with-mysql=yes
|
||||
@ -90,15 +78,4 @@ CONFIGURE_ARGS+=--with-virtuoso=no
|
||||
PLIST_SUB+= VIRTUOSO="@comment "
|
||||
#.endif
|
||||
|
||||
pre-everything::
|
||||
. if ${PORT_OPTIONS:MBDB}
|
||||
@${ECHO_CMD} "You can choose BDB version by setting WITH_BDB_VER to one off:"
|
||||
@${ECHO_CMD} "3 40 41 42 43 44 3+ 40+ 41+ 42+ 43+ 44+ (current: ${BDB_VER})"
|
||||
. endif
|
||||
. if defined(WITH_MYSQL)
|
||||
@${ECHO_CMD} "MySQL version to be used: ${MYSQL_VER}"
|
||||
@${ECHO_CMD} "If you don't have MySQL installed you can stop the build now"
|
||||
@${ECHO_CMD} "and set WITH_MYSQL_VER to the desired version"
|
||||
. endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user