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
commitbe479b8e9910d92d2d4935ea48217d187c626ae2 (patch)
tree3821f7fa8398dd4af83603f79483d912b458be54 /mk/bsd.prefs.mk
parentbca85e1233e2fe4ddea139dec2b11e62c681f237 (diff)
downloadpkgsrc-be479b8e9910d92d2d4935ea48217d187c626ae2.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}