pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/coda5_server coda5's C++ code doesn't compile with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e22f7f54f5ca
branches:  trunk
changeset: 480463:e22f7f54f5ca
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Sep 10 12:19:13 2004 +0000

description:
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:

 net/coda5_server/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 251fe3757b7c -r e22f7f54f5ca net/coda5_server/Makefile.common
--- a/net/coda5_server/Makefile.common  Fri Sep 10 12:09:26 2004 +0000
+++ b/net/coda5_server/Makefile.common  Fri Sep 10 12:19:13 2004 +0000
@@ -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 @@
 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:



Home | Main Index | Thread Index | Old Index