summaryrefslogtreecommitdiff
path: root/archivers/bzip2
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-09-25 20:38:45 +0000
committergrant <grant@pkgsrc.org>2003-09-25 20:38:45 +0000
commitb15b1a80e49889c52554a662e63343f32cbea225 (patch)
tree0b7e10fec46fcc5dd0e718365765dd05beacdea5 /archivers/bzip2
parentb48fd375df3c9672911a269bab2a7a7194a57668 (diff)
downloadpkgsrc-b15b1a80e49889c52554a662e63343f32cbea225.tar.gz
test CC_VERSION rather than doing our own dance to figure out if we're
using gcc or not.
Diffstat (limited to 'archivers/bzip2')
-rw-r--r--archivers/bzip2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile
index b7b178b045e..700c11611da 100644
--- a/archivers/bzip2/Makefile
+++ b/archivers/bzip2/Makefile
@@ -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 @@ MAKE_ENV+= REALCC="${BUILDLINK_CC}"
.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