Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 20:16:51 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342363 - head/textproc/redland
Message-ID:  <201402022016.s12KGpBU048104@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sun Feb  2 20:16:51 2014
New Revision: 342363
URL: http://svnweb.freebsd.org/changeset/ports/342363
QAT: https://qat.redports.org/buildarchive/r342363/

Log:
  - Remove needless dependencies
  - Convert to options helpers

Modified:
  head/textproc/redland/Makefile

Modified: head/textproc/redland/Makefile
==============================================================================
--- head/textproc/redland/Makefile	Sun Feb  2 19:40:24 2014	(r342362)
+++ head/textproc/redland/Makefile	Sun Feb  2 20:16:51 2014	(r342363)
@@ -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}/t
 		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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402022016.s12KGpBU048104>