aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-08-25 16:14:58 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-08-25 16:14:58 +0000
commit20c1eacf2bf58cbb06fd3ceb5c97dcbd11eaabe1 (patch)
treeb54dbe88f1393a9b7d345fa226b1c0546c1e89eb /databases
parentfecac8453dc4d205ce91d0075ab8aa2ec941e761 (diff)
downloadports-20c1eacf2bf58cbb06fd3ceb5c97dcbd11eaabe1.tar.gz
ports-20c1eacf2bf58cbb06fd3ceb5c97dcbd11eaabe1.zip
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
Notes
Notes: svn path=/head/; revision=325358
Diffstat (limited to 'databases')
-rw-r--r--databases/kyototycoon/Makefile2
-rw-r--r--databases/xapian-bindings/Makefile2
-rw-r--r--databases/xapian-core/Makefile4
3 files changed, 4 insertions, 4 deletions
diff --git a/databases/kyototycoon/Makefile b/databases/kyototycoon/Makefile
index 819d46461256..eec5bfbbd5d1 100644
--- a/databases/kyototycoon/Makefile
+++ b/databases/kyototycoon/Makefile
@@ -34,7 +34,7 @@ MAN1= ktremotemgr.1 \
.include <bsd.port.options.mk>
post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
.endif
diff --git a/databases/xapian-bindings/Makefile b/databases/xapian-bindings/Makefile
index 9c58c9026db0..64e7c97edcbc 100644
--- a/databases/xapian-bindings/Makefile
+++ b/databases/xapian-bindings/Makefile
@@ -77,7 +77,7 @@ PLIST_SUB+= RUBY="@comment "
post-patch:
# do not install rdoc
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA install-dist_exampledataDATA ||' ${WRKSRC}/lua/Makefile.in ${WRKSRC}/php/Makefile.in ${WRKSRC}/python/Makefile.in
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docdataDATA||; 799 s|install-dist_exampledataDATA ||' ${WRKSRC}/ruby/Makefile.in
.endif
diff --git a/databases/xapian-core/Makefile b/databases/xapian-core/Makefile
index 266adee2dac2..02d09c05815b 100644
--- a/databases/xapian-core/Makefile
+++ b/databases/xapian-core/Makefile
@@ -33,12 +33,12 @@ MAN1= xapian-check.1 \
.include <bsd.port.options.mk>
-.if empty(PORT_OPTIONS:MSSE2)
+.if !${PORT_OPTIONS:MSSE2}
CONFIGURE_ARGS+=--disable-sse
.endif
post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| docs||' ${WRKSRC}/Makefile.in
.endif