summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2010-10-02 21:04:04 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2010-10-02 21:04:04 +0000
commit94f2a0eb94bdee0011c798f08485a814b0e01ec7 (patch)
treee19672cfef3b6aac62eb6d1008528a4454cec3ed /x11
parentBuild glib12 and ports that depend on it with -std=gnu89. (diff)
Add USE_CSTD=gnu89, let's see if it will fix the build.
PR: ports/150432 Reported by: Joel Ray Holveck <joelh@piquan.org>
Notes
Notes: svn path=/head/; revision=262329
Diffstat (limited to 'x11')
-rw-r--r--x11/libcapplet/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/x11/libcapplet/Makefile b/x11/libcapplet/Makefile
index 3c2a6328bfc3..4354546fdfc7 100644
--- a/x11/libcapplet/Makefile
+++ b/x11/libcapplet/Makefile
@@ -20,12 +20,7 @@ USE_BZIP2= yes
USE_GNOME= gnomelibs
USE_LDCONFIG= yes
MAKE_ENV= LDFLAGS="${LDFLAGS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800071
-BROKEN= does not build
-.endif
+USE_CSTD= gnu89
post-build:
@${REINPLACE_CMD} -e 's/-lgnugetopt //' ${WRKSRC}/cappletConf.sh
@@ -41,4 +36,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/control-center.idl ${PREFIX}/share/idl
${INSTALL_SCRIPT} ${WRKSRC}/cappletConf.sh ${PREFIX}/etc
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>