summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-12 14:57:19 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-12 14:57:19 +0000
commit80a031e2e217fdbc97af991031e57d10aa60c218 (patch)
tree3821f7fa8398dd4af83603f79483d912b458be54 /mk/bsd.prefs.mk
parent16a2cd8defb963b35d0decbde9713d776376bc1f (diff)
downloadpkgsrc-80a031e2e217fdbc97af991031e57d10aa60c218.tar.gz
Remove branch tag from DragonFly version, so that OS_VERSION matches
autoconf's normalisation.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 6301eb495df..78410de4ea7 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.217 2005/12/29 21:18:11 markd Exp $
+# $NetBSD: bsd.prefs.mk,v 1.218 2006/01/12 14:57:19 joerg Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -120,6 +120,7 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH:Q}
LOWER_VENDOR?= apple
.elif ${OPSYS} == "DragonFly"
+OS_VERSION:= ${OS_VERSION:C/-.*$//}
LOWER_OPSYS?= dragonfly
LOWER_ARCH!= ${UNAME} -p
MACHINE_ARCH= ${LOWER_ARCH}