aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-10-13 06:53:08 +0800
committerpav <pav@FreeBSD.org>2010-10-13 06:53:08 +0800
commita7fed355df9546c3497db54513ac4d206d7ef4de (patch)
treef8ef559c41f3ceb54ac1618ecc6bd75b5f04f50d /x11
parentf0caabe324d39b7ad04ee3d8eed74fd42bc780cd (diff)
downloadfreebsd-ports-gnome-a7fed355df9546c3497db54513ac4d206d7ef4de.tar.gz
freebsd-ports-gnome-a7fed355df9546c3497db54513ac4d206d7ef4de.tar.zst
freebsd-ports-gnome-a7fed355df9546c3497db54513ac4d206d7ef4de.zip
- Try to fix build on 8.0-RELEASE
Reported by: pointyhat
Diffstat (limited to 'x11')
-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>