pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/bzip2 test CC_VERSION rather than doing our ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/831d032839da
branches:  trunk
changeset: 462046:831d032839da
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Sep 25 20:38:45 2003 +0000

description:
test CC_VERSION rather than doing our own dance to figure out if we're
using gcc or not.

diffstat:

 archivers/bzip2/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r ef63ece75e19 -r 831d032839da archivers/bzip2/Makefile
--- a/archivers/bzip2/Makefile  Thu Sep 25 20:27:12 2003 +0000
+++ b/archivers/bzip2/Makefile  Thu Sep 25 20:38:45 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2003/09/18 18:46:28 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2003/09/25 20:38:45 grant Exp $
 #
 
 DISTNAME=      bzip2-1.0.2
@@ -15,9 +15,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-CCVERS!=       ${CC} -v 2>&1 | ${GREP} "gcc" || ${ECHO} "notgcc"
-
-.if ${CCVERS} != "notgcc"
+.if !empty(CC_VERSION:Mgcc*)
 BZIP_CFLAGS=           -Wall -Winline -fomit-frame-pointer -fno-strength-reduce
 .endif
 



Home | Main Index | Thread Index | Old Index