From 0d3a14a8395fb30453dab9fa7d736dd3149e7c7e Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sun, 25 Aug 2013 16:14:58 +0000 Subject: - Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo) --- databases/kyototycoon/Makefile | 2 +- databases/xapian-bindings/Makefile | 2 +- databases/xapian-core/Makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'databases') 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 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 -.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 -- cgit