summaryrefslogtreecommitdiff
path: root/pkgtools/osabi
diff options
context:
space:
mode:
authorobache <obache>2013-02-23 05:47:59 +0000
committerobache <obache>2013-02-23 05:47:59 +0000
commitfb5a81333dcfe037ae155443570b17220359851e (patch)
treef06f254645d6983676d933b5a5533b8ee2bfe247 /pkgtools/osabi
parent436847753c035d2a8ddad4f4831bcded5511cdb7 (diff)
downloadpkgsrc-fb5a81333dcfe037ae155443570b17220359851e.tar.gz
normalize OS_VERSION for Cygwin, same as in mk/bsd.prefe.mk.
Diffstat (limited to 'pkgtools/osabi')
-rw-r--r--pkgtools/osabi/INSTALL5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/osabi/INSTALL b/pkgtools/osabi/INSTALL
index 485a1202580..4f3bf334329 100644
--- a/pkgtools/osabi/INSTALL
+++ b/pkgtools/osabi/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.2 2011/02/05 13:21:13 obache Exp $
+# $NetBSD: INSTALL,v 1.3 2013/02/23 05:47:59 obache Exp $
UNAME="@UNAME@"
case ${STAGE} in
@@ -25,6 +25,9 @@ PRE-INSTALL)
HPUX)
OS_VERSION=`echo "${OS_VERSION}" | sed -e's/^B.//'`
;;
+ CYGWIN_*)
+ OS_VERSION=`echo "${OS_VERSION}" | sed -e's/(.*)//'`
+ ;;
esac
if ${TEST} "${OS_VERSION}" != "${PKG_VERSION}" ;then