summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhans <hans>2012-03-22 11:28:38 +0000
committerhans <hans>2012-03-22 11:28:38 +0000
commitdf07b422dfe90c76f52890785e4efac8d1892ea2 (patch)
tree23902643d8a8951576f3dddfb8aff5cfdfc9a168 /sysutils
parent98396a72f6e6fc02f99d32b3fe87445e1842438b (diff)
downloadpkgsrc-df07b422dfe90c76f52890785e4efac8d1892ea2.tar.gz
Let the schily makefiles know when we're using gcc.
Diffstat (limited to 'sysutils')
-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=""