summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-09-10 12:19:13 +0000
committerdrochner <drochner@pkgsrc.org>2004-09-10 12:19:13 +0000
commitd2e22bc7db1554bb9ddd7304ab0938fb5d5395e1 (patch)
tree5504f80d6071499c718b59352091bafe340f2153 /net
parentc9f7ca58661bfd140c6292cf568d7da9e773cf08 (diff)
downloadpkgsrc-d2e22bc7db1554bb9ddd7304ab0938fb5d5395e1.tar.gz
coda5's C++ code doesn't compile with gcc-3.3 and higher
check and set PKG_FAIL_REASON to get a better error msg
Diffstat (limited to 'net')
-rw-r--r--net/coda5_server/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/coda5_server/Makefile.common b/net/coda5_server/Makefile.common
index 654d774669d..b5731b4b146 100644
--- a/net/coda5_server/Makefile.common
+++ b/net/coda5_server/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2004/04/27 04:29:17 snj Exp $
+# $NetBSD: Makefile.common,v 1.6 2004/09/10 12:19:13 drochner Exp $
DISTNAME?= coda-${DIST_VERS}
DIST_VERS?= 5.3.20
@@ -28,6 +28,11 @@ CONFIGURE_ARGS+= --without-openssl
PKG_SYSCONFSUBDIR?= coda
EGDIR= ${PREFIX}/share/examples/coda
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-3.3*)
+PKG_FAIL_REASON= "coda5 cannot be built with ${CC_VERSION}"
+.endif
+
pre-install: install-egdir
install-egdir: