tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: OpenBSD/amd64 / pkgtools/pkg_install - pkg_add compatible_platform() check oddness
with the following changes to bootstrap/bootstrap
MACHINE_ARCH= x86_64
MACHINE_ARCH.x86_64= x86_64
GNU_ARCH.x86_64= x86_64
I still get
pkg_add: OpenBSD/x86_64 5.7 (pkg) vs. OpenBSD/amd64 5.7 (this host)
Same result with
MACHINE_ARCH= x86_64
MACHINE_ARCH.x86_64= amd64
GNU_ARCH.x86_64= amd64
and without MACHINE_ARCH declared at all. The problem is the lies with
the check in pkg_add, no?
Index: bootstrap/bootstrap
===================================================================
RCS file: /cvsroot/pkgsrc/bootstrap/bootstrap,v
retrieving revision 1.216
diff -u -p -r1.216 bootstrap
--- bootstrap/bootstrap 3 May 2015 14:26:57 -0000 1.216
+++ bootstrap/bootstrap 22 May 2015 19:33:00 -0000
@@ -751,6 +751,11 @@ OpenBSD)
need_sed=no
set_opsys=no
machine_arch=`uname -m`
+ if [ "$machine_arch" = "amd64" ]; then
+ machine_arch=x86_64
+ set_machine_arch=yes
+ bmakexargs="MACHINE_ARCH=$machine_arch"
+ fi
;;
OSF1)
root_group=system
Home |
Main Index |
Thread Index |
Old Index