aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ncnf
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-05 05:27:35 +0800
committerbapt <bapt@FreeBSD.org>2013-05-05 05:27:35 +0800
commitcf88b3286542aee13928b193868d1cb8394d2d22 (patch)
tree8bc1e615ccf2c745a4b0e4791657d2b581d73f1d /devel/ncnf
parent723a89ab27a8e9af95bc82a2a0d285f2dcd1442d (diff)
downloadfreebsd-ports-gnome-cf88b3286542aee13928b193868d1cb8394d2d22.tar.gz
freebsd-ports-gnome-cf88b3286542aee13928b193868d1cb8394d2d22.tar.zst
freebsd-ports-gnome-cf88b3286542aee13928b193868d1cb8394d2d22.zip
Fix build with bmake
Diffstat (limited to 'devel/ncnf')
-rw-r--r--devel/ncnf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/ncnf/Makefile b/devel/ncnf/Makefile
index 014489c6aacc..132d265e6443 100644
--- a/devel/ncnf/Makefile
+++ b/devel/ncnf/Makefile
@@ -16,8 +16,14 @@ USE_AUTOTOOLS= libtool
USE_LDCONFIG= YES
GNU_CONFIGURE= yes
+.if defined(.PARSEDIR)
+USE_GMAKE= yes
+.endif
+
+.include <bsd.port.options.mk>
+
post-patch:
-.ifdef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in
.endif