aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2010-10-03 05:04:04 +0800
committermezz <mezz@FreeBSD.org>2010-10-03 05:04:04 +0800
commit44ed2bf3ca3d83debc327b94575e2cd9a0673e9f (patch)
tree2ddd85bcaa5489374e1b71241192b99dc44aa5dc
parent5f89cc9bc263de7d2e47ea34c2459d156ac1f0c8 (diff)
downloadfreebsd-ports-gnome-44ed2bf3ca3d83debc327b94575e2cd9a0673e9f.tar.gz
freebsd-ports-gnome-44ed2bf3ca3d83debc327b94575e2cd9a0673e9f.tar.zst
freebsd-ports-gnome-44ed2bf3ca3d83debc327b94575e2cd9a0673e9f.zip
Add USE_CSTD=gnu89, let's see if it will fix the build.
PR: ports/150432 Reported by: Joel Ray Holveck <joelh@piquan.org>
-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>