summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner>2004-09-10 12:19:13 +0000
committerdrochner <drochner>2004-09-10 12:19:13 +0000
commitcefa0a02ecee6cabf5343a1afb60e7b461d4d9b8 (patch)
tree5504f80d6071499c718b59352091bafe340f2153
parent3a92dab543a244e3f00b4b75c72f1c8d48202bfa (diff)
downloadpkgsrc-cefa0a02ecee6cabf5343a1afb60e7b461d4d9b8.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
-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: