summaryrefslogtreecommitdiff
path: root/net/jags/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
commitb7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch)
treefa95c4dec9e92efb4ff7df81d579129d7bc11807 /net/jags/Makefile
parentFix F77 detection. (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191950
Diffstat (limited to 'net/jags/Makefile')
-rw-r--r--net/jags/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/jags/Makefile b/net/jags/Makefile
index c1aeaa93a65f..5e827a013e8e 100644
--- a/net/jags/Makefile
+++ b/net/jags/Makefile
@@ -23,10 +23,16 @@ USE_GNOME= gtk12
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
pre-patch:
@${PERL} -pi.fbsd -e 's@/usr/local/share/jags/@${PREFIX}/share/jags/@g' \
${WRKSRC}/src/jagsconfig.cpp
@${PERL} -pi.fbsd -e 's@/usr/local/share/jags/pixmaps/@${PREFIX}/share/jags/pixmaps/@g' \
${WRKSRC}/src/gtk_common.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>