aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2009-09-15 00:46:41 +0800
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2009-09-15 00:46:41 +0800
commitf4b33d1d9bc2ab138f26fabf65e7e1237f560b07 (patch)
treee4bd99bf4c7a82d731e6ad345e713d0773f9f290
parentda0907606807548d521541615fb798c624dd8012 (diff)
downloadfreebsd-ports-gnome-f4b33d1d9bc2ab138f26fabf65e7e1237f560b07.tar.gz
freebsd-ports-gnome-f4b33d1d9bc2ab138f26fabf65e7e1237f560b07.tar.zst
freebsd-ports-gnome-f4b33d1d9bc2ab138f26fabf65e7e1237f560b07.zip
Improve BROKEN.
-rw-r--r--audio/calf/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/calf/Makefile b/audio/calf/Makefile
index daf89ef72019..88c38fda065e 100644
--- a/audio/calf/Makefile
+++ b/audio/calf/Makefile
@@ -25,15 +25,18 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/dssi -L${LOCALBASE}/lib
-
-BROKEN= Does not compile
-
MAN1= calfjackhost.1
MAN7= calf.7
INSTALLS_ICONS= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= Does not compile
+.endif
+
post-patch:
@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} \
${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>