summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-09 10:20:37 +0000
committerkrion <krion@FreeBSD.org>2004-12-09 10:20:37 +0000
commit0bcd8b7de32cc33e9bb9c8a3a06333f9b02cc7e4 (patch)
treeb06f76e6c0ab233d5d78a8d585e23d6a4b9dc405
parente0a1ad1c1f8bd9635955b7c282b221bfc9ab5a95 (diff)
downloadFreeBSD-ports-0bcd8b7de32cc33e9bb9c8a3a06333f9b02cc7e4.zip
FreeBSD-ports-0bcd8b7de32cc33e9bb9c8a3a06333f9b02cc7e4.tar.gz
BROKEN: Does not compile on 4.x
-rw-r--r--cad/oregano/Makefile8
-rw-r--r--games/rtb/Makefile6
2 files changed, 13 insertions, 1 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 30f63ab..7eca218 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -27,7 +27,13 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
INSTALLS_OMF= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/rtb/Makefile b/games/rtb/Makefile
index 0bdf998..84d1f0f 100644
--- a/games/rtb/Makefile
+++ b/games/rtb/Makefile
@@ -30,6 +30,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
+.include<bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
post-extract:
@${REINPLACE_CMD} -e 's/min/Min/; s/max/Max/' ${WRKSRC}/include/Various.h
@${REINPLACE_CMD} -E -e 's/\(int\*\)/int\*/' ${WRKSRC}/src/ArenaRealTime.cc
OpenPOWER on IntegriCloud