summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-07-02 23:12:58 +0000
committerpawel <pawel@FreeBSD.org>2012-07-02 23:12:58 +0000
commitbcff31c701aaa2c996e7d2ce65bb135e1fb0bd5c (patch)
treecf600df70e4775cd44a419c3499dfeed998cb3bc
parent82dbda973ca9a0ff98b56e1b44ef75203dc42414 (diff)
downloadFreeBSD-ports-bcff31c701aaa2c996e7d2ce65bb135e1fb0bd5c.zip
FreeBSD-ports-bcff31c701aaa2c996e7d2ce65bb135e1fb0bd5c.tar.gz
- Fix build with clang
- Convert to OPTIONSng
-rw-r--r--devel/vstr/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/vstr/Makefile b/devel/vstr/Makefile
index bdade60..144951d 100644
--- a/devel/vstr/Makefile
+++ b/devel/vstr/Makefile
@@ -20,18 +20,21 @@ USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
+USE_CSTD= gnu89
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
MAN3= vstr.3 vstr_const.3
+.include <bsd.port.options.mk>
+
post-patch:
-.if defined(NOPORTDOCS)
+.if !${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's| Documentation||' ${WRKSRC}/Makefile.in
.endif
post-install:
-.if defined(NOPORTDOCS)
+.if !${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/Documentation && ${GMAKE} install-man3
.endif
OpenPOWER on IntegriCloud