summaryrefslogtreecommitdiff
path: root/news/newscache/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-05-18 09:55:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-05-18 09:55:25 +0000
commit9c288e873f84089ba8dcb3c1acff8ce23bd4e5e0 (patch)
tree043d479b1d60668b1d77568d010f6178e25bd6ba /news/newscache/Makefile
parentFix build: (diff)
BROKEN on 5.1: bad C++
Notes
Notes: svn path=/head/; revision=81207
Diffstat (limited to '')
-rw-r--r--news/newscache/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/news/newscache/Makefile b/news/newscache/Makefile
index e270b484eb42..94ca2199005c 100644
--- a/news/newscache/Makefile
+++ b/news/newscache/Makefile
@@ -17,6 +17,12 @@ COMMENT= NewsCache is a free cache server for USENET News
LIB_DEPENDS= socket[+][+].1:${PORTSDIR}/net/libsocket++
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
USE_AUTOMAKE_VER= 15
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
@@ -28,4 +34,4 @@ MAN8= newscache.8 newscacheclean.8 updatenews.8
post-patch:
cd ${WRKSRC}; ./autogen
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>