summaryrefslogtreecommitdiff
path: root/lang/munger
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-12 06:05:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-12 06:05:03 +0000
commita4336b798b285774b3b1fb7fdc8d492b389543c5 (patch)
treef04b4da09af88440a84fa754093dfc6c176a91c1 /lang/munger
parentUpdate to version 0.9.8.14. (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=317932
Diffstat (limited to 'lang/munger')
-rw-r--r--lang/munger/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/munger/Makefile b/lang/munger/Makefile
index ee7c7b53247d..5a0b4ea48358 100644
--- a/lang/munger/Makefile
+++ b/lang/munger/Makefile
@@ -16,13 +16,14 @@ DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
MAN1= munger.1
MANCOMPRESSED= yes
-OPTIONS= SQL "include SQLite interface" on
+OPTIONS_DEFINE= SQLITE
+OPTIONS_DEFAULT= SQLITE
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_SQL)
+.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE= 3
MAKE_ARGS+= -DWITH_SQL
.endif
@@ -31,4 +32,4 @@ MAKE_ARGS+= -DWITH_SQL
BROKEN= Does not link on sparc64
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>