summaryrefslogtreecommitdiff
path: root/graphics
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 /graphics
parentFix F77 detection. (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191950
Diffstat (limited to 'graphics')
-rw-r--r--graphics/IPA/Makefile8
-rw-r--r--graphics/gltt/Makefile8
-rw-r--r--graphics/gplot/Makefile8
-rw-r--r--graphics/libv3d/Makefile8
-rw-r--r--graphics/nurbs++/Makefile8
5 files changed, 35 insertions, 5 deletions
diff --git a/graphics/IPA/Makefile b/graphics/IPA/Makefile
index 76dd7b2a31f5..58049a01d2cf 100644
--- a/graphics/IPA/Makefile
+++ b/graphics/IPA/Makefile
@@ -24,8 +24,14 @@ MAN1= iterm.1
MAN3= IPA.3
MANCOMPRESSED= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
do-configure:
@(cd ${WRKSRC} ; ${PERL} ./${CONFIGURE_SCRIPT})
@(cd ${WRKSRC} ; ${REINPLACE_CMD} -e 's,-o,-fPIC &, ; s|perl/man|man|' Makefile)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile
index ae6e297460d1..47ff3d3b0082 100644
--- a/graphics/gltt/Makefile
+++ b/graphics/gltt/Makefile
@@ -32,4 +32,10 @@ CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \
--with-glut-libraries=${X11BASE}/lib
USE_LDCONFIG= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gplot/Makefile b/graphics/gplot/Makefile
index 5301173bcc36..2f6405962939 100644
--- a/graphics/gplot/Makefile
+++ b/graphics/gplot/Makefile
@@ -26,6 +26,12 @@ FC= gfortran42
F77= gfortran42
MAKE_ENV+= FC="${FC}" F77="${F77}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gplot ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gtex ${PREFIX}/bin
@@ -39,4 +45,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/libv3d/Makefile b/graphics/libv3d/Makefile
index ada1e0dacc91..9bc025c82543 100644
--- a/graphics/libv3d/Makefile
+++ b/graphics/libv3d/Makefile
@@ -78,6 +78,12 @@ MAN3= V3DGLInterpriteDelete.3 \
v3d_hf_options_struct.3 \
v3d_texture_ref_struct.3
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,make,${GMAKE},g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,%%CFLAGS%%,${CFLAGS},g" \
@@ -86,4 +92,4 @@ post-patch:
-e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g" \
${WRKSRC}/libv3d/platforms.ini
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/nurbs++/Makefile b/graphics/nurbs++/Makefile
index 60abbbec5b54..a3d74a674321 100644
--- a/graphics/nurbs++/Makefile
+++ b/graphics/nurbs++/Makefile
@@ -22,4 +22,10 @@ USE_LDCONFIG= yes
MAN1= nurbs++-config.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
+.include <bsd.port.post.mk>