diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-01 16:16:35 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-01 16:16:35 +0000 |
commit | f0ac06800fa429510bee4f8ba06462716f9a5341 (patch) | |
tree | a3c86aa7f63f475ce98dfd1c77f9416d3473cb35 | |
parent | - Fix build without DOCS by not trying to install files into /dev/null (both ... (diff) |
- Switch to options helpers
- Disabled DOCS should not disable manpage installation
Approved by: portmgr blanket
-rw-r--r-- | devel/radare2/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/radare2/Makefile b/devel/radare2/Makefile index 4ce19aed8359..d456bdd961fd 100644 --- a/devel/radare2/Makefile +++ b/devel/radare2/Makefile @@ -22,16 +22,14 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|..LIBDIR./pkgconfig|libdata/pkgconfig|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|..LFX./pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/libr/Makefile -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e 's| install-doc install-man||g' \ + +post-patch-DOCS-off: + @${REINPLACE_CMD} -e 's| install-doc ||g' \ ${WRKSRC}/Makefile -.endif .include <bsd.port.mk> |