diff options
author | obache <obache@pkgsrc.org> | 2013-02-23 05:47:59 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-02-23 05:47:59 +0000 |
commit | df070ebd5d405dcfe072656670b11b49d47b4b14 (patch) | |
tree | f06f254645d6983676d933b5a5533b8ee2bfe247 /pkgtools | |
parent | b1876da7b62015f2580c8e03df0320ff2af97f83 (diff) | |
download | pkgsrc-df070ebd5d405dcfe072656670b11b49d47b4b14.tar.gz |
normalize OS_VERSION for Cygwin, same as in mk/bsd.prefe.mk.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/osabi/INSTALL | 5 |
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 |