summaryrefslogtreecommitdiff
path: root/lang/o2c/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-19 02:51:26 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-19 02:51:26 +0000
commit3818bebb3c6e81d7ad8f064a8bc88b31ce5c17ae (patch)
treecbd9a15fd197c57e314a93bafc373f9f80d26e1a /lang/o2c/Makefile
parent- unbreak this port on 5.x (diff)
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=118285
Diffstat (limited to 'lang/o2c/Makefile')
-rw-r--r--lang/o2c/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/o2c/Makefile b/lang/o2c/Makefile
index 22d5272bd2f6..55efac97b197 100644
--- a/lang/o2c/Makefile
+++ b/lang/o2c/Makefile
@@ -20,6 +20,12 @@ USE_REINPLACE= yes
MAKE_ENV= MAKEOBJDIR=.
MAN1= o2b.1 o2c.1 o2ef.1 o2whereis.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-extract:
@${CP} ${FILESDIR}/o2 ${WRKSRC}
@@ -31,4 +37,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/system/o2c.red.template ${PREFIX}/lib/o2c-1.16
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>