aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-fltk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-03 09:32:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-03 09:32:56 +0000
commit737b8faa1b1715dc5c445a0fdb85a6c971d00b0d (patch)
tree99297df7eeb0079dcdf2ace5c6a43e71fbed3390 /x11-toolkits/py-fltk
parente6df0ed507bd90acc264c1aaa47b1ef81db3c726 (diff)
downloadports-737b8faa1b1715dc5c445a0fdb85a6c971d00b0d.tar.gz
ports-737b8faa1b1715dc5c445a0fdb85a6c971d00b0d.zip
Notes
Diffstat (limited to 'x11-toolkits/py-fltk')
-rw-r--r--x11-toolkits/py-fltk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile
index 4ee28433ef7e..1a0aeab65292 100644
--- a/x11-toolkits/py-fltk/Makefile
+++ b/x11-toolkits/py-fltk/Makefile
@@ -28,6 +28,12 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
XTRADOCS= CHANGES README TODO
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile on GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
@@ -47,4 +53,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>