aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
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