diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-25 16:14:58 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-25 16:14:58 +0000 |
commit | 20c1eacf2bf58cbb06fd3ceb5c97dcbd11eaabe1 (patch) | |
tree | b54dbe88f1393a9b7d345fa226b1c0546c1e89eb /devel | |
parent | fecac8453dc4d205ce91d0075ab8aa2ec941e761 (diff) | |
download | ports-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 'devel')
-rw-r--r-- | devel/libcheck/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/libcheck/Makefile b/devel/libcheck/Makefile index adccf76b85e0..79e2de5c6c8f 100644 --- a/devel/libcheck/Makefile +++ b/devel/libcheck/Makefile @@ -33,10 +33,10 @@ post-patch: -e '/^exampledir = / s|(docdir)/example|(datadir)/examples/${PORTNAME}|' \ -e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \ ${WRKSRC}/doc/Makefile.in -.if empty(PORT_OPTIONS:MDOCS) +.if !${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am:/ s| install-docDATA||' ${WRKSRC}/Makefile.in .endif -.if empty(PORT_OPTIONS:MEXAMPLES) +.if !${PORT_OPTIONS:MEXAMPLES} @${REINPLACE_CMD} \ -e '/^install-data-am:/ s| install-exampleDATA install-examplesrcDATA||' \ -e 's|install-exampletestsDATA ||' \ |