summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-03-07 14:52:12 +0000
committerjperkin <jperkin@pkgsrc.org>2014-03-07 14:52:12 +0000
commita1f524b995fae86491e3f9b7bdb7ccd0c1c0b7e1 (patch)
tree02071c7f4529ac01002bbb5bad90996ec88fa57a /mk
parentb0ce474c96356cccbc0da0d16db0464205895090 (diff)
downloadpkgsrc-a1f524b995fae86491e3f9b7bdb7ccd0c1c0b7e1.tar.gz
Detect newer RedHat distributions.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index b7b6420d432..b55d4feb0d5 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.342 2014/02/22 09:40:52 ryoon Exp $
+# $NetBSD: bsd.prefs.mk,v 1.343 2014/03/07 14:52:12 jperkin Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -240,7 +240,7 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH:Q}
LOWER_VENDOR?= debian
. elif exists(/etc/mandrake-release)
LOWER_VENDOR?= mandrake
-. elif exists(/etc/redhat-version)
+. elif exists(/etc/redhat-version) || exists(/etc/redhat-release)
LOWER_VENDOR?= redhat
. elif exists(/etc/slackware-version)
LOWER_VENDOR?= slackware