diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-08-26 00:14:58 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-08-26 00:14:58 +0800 |
commit | 0d3a14a8395fb30453dab9fa7d736dd3149e7c7e (patch) | |
tree | b54dbe88f1393a9b7d345fa226b1c0546c1e89eb /databases | |
parent | 0f420081afbd740244195390306f35e445ab8c4e (diff) | |
download | freebsd-ports-gnome-0d3a14a8395fb30453dab9fa7d736dd3149e7c7e.tar.gz freebsd-ports-gnome-0d3a14a8395fb30453dab9fa7d736dd3149e7c7e.tar.zst freebsd-ports-gnome-0d3a14a8395fb30453dab9fa7d736dd3149e7c7e.zip |
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/kyototycoon/Makefile | 2 | ||||
-rw-r--r-- | databases/xapian-bindings/Makefile | 2 | ||||
-rw-r--r-- | databases/xapian-core/Makefile | 4 |
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 |