summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-04-10 21:46:47 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-04-10 21:46:47 +0000
commit3c30966bd8733f5bb75dcde69e3838fa5421326a (patch)
tree5825673392add546cc243a8d00f2e83f10a5473f /devel
parentBROKEN: Broken dependency (diff)
BROKEN on 4.x: Does not compile
Notes
Notes: svn path=/head/; revision=132964
Diffstat (limited to 'devel')
-rw-r--r--devel/liboil/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index 3f58245a64ad..f900b402c8f6 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -20,9 +20,15 @@ INSTALLS_SHLIB= yes
PLIST_SUB= VERSION=${PORTVERSION:R}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on FreeBSD 4.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|g' \
${WRKSRC}/liboil/liboiltypes.h \
${WRKSRC}/liboil/liboil.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>