summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-03-07 14:52:12 +0000
committerjperkin <jperkin>2014-03-07 14:52:12 +0000
commit1becefc50b72c57a20126496581fe06c8e9bc296 (patch)
tree02071c7f4529ac01002bbb5bad90996ec88fa57a /mk
parent205430a4c8a25ecdf0906631ecbf2e99617a27be (diff)
downloadpkgsrc-1becefc50b72c57a20126496581fe06c8e9bc296.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