pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/cdrdao Let the schily makefiles know when we'...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f602cbf26a0
branches:  trunk
changeset: 601563:0f602cbf26a0
user:      hans <hans%pkgsrc.org@localhost>
date:      Thu Mar 22 11:28:38 2012 +0000

description:
Let the schily makefiles know when we're using gcc.

diffstat:

 sysutils/cdrdao/Makefile.common |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a595721131b3 -r 0f602cbf26a0 sysutils/cdrdao/Makefile.common
--- a/sysutils/cdrdao/Makefile.common   Thu Mar 22 10:27:19 2012 +0000
+++ b/sysutils/cdrdao/Makefile.common   Thu Mar 22 11:28:38 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2011/04/14 21:47:24 hans Exp $
+# $NetBSD: Makefile.common,v 1.10 2012/03/22 11:28:38 hans Exp $
 
 DISTNAME=              cdrdao-${CDRDAO_VER}
 CATEGORIES=            sysutils
@@ -31,6 +31,10 @@
 CONFIGURE_ARGS+=--with-scglib
 .endif
 
+.if !empty(CC:M*gcc*)
+MAKE_ENV+=     CCOM=gcc
+.endif
+
 # override ARCH to avoid picking up a bad ${ARCH} during the build
 MAKE_ENV+=     ARCH=""
 



Home | Main Index | Thread Index | Old Index