pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Drop trailing components like -RELEASE for FreeBSD ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66ad6b028dfc
branches:  trunk
changeset: 530976:66ad6b028dfc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 17 09:20:18 2007 +0000

description:
Drop trailing components like -RELEASE for FreeBSD like we do for
DragonFly. This fixes the version number of lsof as side effect.

diffstat:

 mk/bsd.prefs.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 87b35ed9e686 -r 66ad6b028dfc mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Tue Jul 17 06:54:43 2007 +0000
+++ b/mk/bsd.prefs.mk   Tue Jul 17 09:20:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.251 2007/05/29 14:48:49 rillig Exp $
+# $NetBSD: bsd.prefs.mk,v 1.252 2007/07/17 09:20:18 joerg Exp $
 #
 # Make file, included to get the site preferences, if any.  Should
 # only be included by package Makefiles before any .if defined()
@@ -129,6 +129,7 @@
 LOWER_VENDOR?=         pc
 
 .elif ${OPSYS} == "FreeBSD"
+OS_VERSION:=           ${OS_VERSION:C/-.*$//}
 LOWER_OPSYS?=          freebsd
 LOWER_ARCH!=           ${UNAME} -p
 .  if ${LOWER_ARCH} == "amd64"



Home | Main Index | Thread Index | Old Index