diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/truevision/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile index 4bf62ff..1bf7bd4 100644 --- a/graphics/truevision/Makefile +++ b/graphics/truevision/Makefile @@ -26,6 +26,12 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_FLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 500000 +BROKEN= "Does not compile" +.endif + pre-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @@ -36,4 +42,4 @@ pre-patch: @${REINPLACE_CMD} -e "s,-lgthread,-lgthread12,g ; \ s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/src/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |