summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-22 11:28:38 +0000
committerhans <hans@pkgsrc.org>2012-03-22 11:28:38 +0000
commit026722426c9cde33039855ec5e39d591c4fecfea (patch)
tree23902643d8a8951576f3dddfb8aff5cfdfc9a168
parentf8477a058f58a92baef7500d2c2ea3a2353f64b9 (diff)
downloadpkgsrc-026722426c9cde33039855ec5e39d591c4fecfea.tar.gz
Let the schily makefiles know when we're using gcc.
-rw-r--r--sysutils/cdrdao/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/cdrdao/Makefile.common b/sysutils/cdrdao/Makefile.common
index 0c6f9ddd9c5..f73eec3b9c3 100644
--- a/sysutils/cdrdao/Makefile.common
+++ b/sysutils/cdrdao/Makefile.common
@@ -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 @@ LDFLAGS.SunOS= -lvolmgt -lnsl
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=""