aboutsummaryrefslogtreecommitdiff
path: root/x11/libcapplet
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-10-12 22:53:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-10-12 22:53:08 +0000
commitd25300937465eaf27fb33c26dd935a9d522d745f (patch)
tree7844f018d20ce34549ca7868fcbbb09d5939b7ef /x11/libcapplet
parentfc5117a6d6cdec2d57e5680e6d444f175e38c682 (diff)
downloadports-d25300937465eaf27fb33c26dd935a9d522d745f.tar.gz
ports-d25300937465eaf27fb33c26dd935a9d522d745f.zip
- Try to fix build on 8.0-RELEASE
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=262917
Diffstat (limited to 'x11/libcapplet')
-rw-r--r--x11/libcapplet/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/libcapplet/Makefile b/x11/libcapplet/Makefile
index 4354546fdfc7..d91ad3772eb1 100644
--- a/x11/libcapplet/Makefile
+++ b/x11/libcapplet/Makefile
@@ -20,7 +20,12 @@ USE_BZIP2= yes
USE_GNOME= gnomelibs
USE_LDCONFIG= yes
MAKE_ENV= LDFLAGS="${LDFLAGS}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800071
USE_CSTD= gnu89
+.endif
post-build:
@${REINPLACE_CMD} -e 's/-lgnugetopt //' ${WRKSRC}/cappletConf.sh
@@ -36,4 +41,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/control-center.idl ${PREFIX}/share/idl
${INSTALL_SCRIPT} ${WRKSRC}/cappletConf.sh ${PREFIX}/etc
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>