aboutsummaryrefslogtreecommitdiff
path: root/graphics/gnofract4d
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gnofract4d')
-rw-r--r--graphics/gnofract4d/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index 6804a89ad31b..4e43bd82fd2f 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -24,10 +24,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-compile-warnings=no
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^CXXFLAGS =.* -D|CXXFLAGS = @CXXFLAGS@ -D|g ; \
s|gnofract4d_helpdir)/images|gnofract4d_helpdir)|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>