diff options
author | obache <obache@pkgsrc.org> | 2013-04-03 13:45:49 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-03 13:45:49 +0000 |
commit | 3db2aabb72d8e9928b9272971f1fd4c0fe30c9a6 (patch) | |
tree | 37d810d630dbda9572a2f4db31cffd79f5f5cc41 /mk | |
parent | 65b863754315d7d2d8ad40502e46d4d09a2dc699 (diff) | |
download | pkgsrc-3db2aabb72d8e9928b9272971f1fd4c0fe30c9a6.tar.gz |
normalize LOWER_ARCH i?86 for Cygwin, same as Linux.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 60c6936db79..90797445a59 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.334 2013/03/01 00:07:46 tcort Exp $ +# $NetBSD: bsd.prefs.mk,v 1.335 2013/04/03 13:45:49 obache Exp $ # # This file includes the mk.conf file, which contains the user settings. # @@ -131,7 +131,9 @@ LOWER_OPSYS?= bsdi .elif ${OPSYS} == "Cygwin" LOWER_OPSYS?= cygwin LOWER_VENDOR?= pc -LOWER_ARCH!= ${UNAME} -m +. if !defined(LOWER_ARCH) +LOWER_ARCH!= ${UNAME} -m | sed -e 's/i.86/i386/' +. endif # !defined(LOWER_ARCH) _OS_VERSION!= ${UNAME} -r OS_VERSION= ${_OS_VERSION:C/\(.*\)//} OS_VARIANT!= ${UNAME} -s |