summaryrefslogtreecommitdiff
path: root/graphics/truevision
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-12-02 00:45:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-12-02 00:45:49 +0000
commit2227e221a1010ebfb6a983905f382e604bb23bd5 (patch)
tree959845570f5d700d219c690c4302c43e4acc7419 /graphics/truevision
parentBROKEN: Incorrect pkg-plist (diff)
BROKEN on 5.0: does not compile
Notes
Notes: svn path=/head/; revision=71295
Diffstat (limited to 'graphics/truevision')
-rw-r--r--graphics/truevision/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile
index 4bf62ffbb5ed..1bf7bd43f278 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>