aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-07-03 06:37:56 +0800
committerpawel <pawel@FreeBSD.org>2012-07-03 06:37:56 +0800
commit95372a2b7b77a1fcd94dd2f4686e7ea3b60de939 (patch)
tree9bd7a0d324532e788df0120b088a02a5d8653a22 /x11-toolkits
parent8753d275c891beb2a30f22aaad5153754935d0f4 (diff)
downloadfreebsd-ports-gnome-95372a2b7b77a1fcd94dd2f4686e7ea3b60de939.tar.gz
freebsd-ports-gnome-95372a2b7b77a1fcd94dd2f4686e7ea3b60de939.tar.zst
freebsd-ports-gnome-95372a2b7b77a1fcd94dd2f4686e7ea3b60de939.zip
- Fix build with clang
- Convert to OPTIONSng
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtkextra2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11-toolkits/gtkextra2/Makefile b/x11-toolkits/gtkextra2/Makefile
index c959b056420a..374e8893e010 100644
--- a/x11-toolkits/gtkextra2/Makefile
+++ b/x11-toolkits/gtkextra2/Makefile
@@ -18,6 +18,7 @@ COMMENT= A useful widget set complementary to GTK+ 2.0
USE_GNOME= gtk20 gnomehack
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
+USE_CSTD= gnu89
USE_LDCONFIG= yes
LATEST_LINK= gtkextra2
@@ -25,11 +26,13 @@ DOCSDIR= ${PREFIX}/share/doc/gtkextra2
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
.for d in reference tutorial
@${MKDIR} ${DOCSDIR}/${d}
@(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${DOCSDIR})