From bcff31c701aaa2c996e7d2ce65bb135e1fb0bd5c Mon Sep 17 00:00:00 2001 From: pawel Date: Mon, 2 Jul 2012 23:12:58 +0000 Subject: - Fix build with clang - Convert to OPTIONSng --- devel/vstr/Makefile | 7 +++++-- 1 file 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 + 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 -- cgit v1.1