Subject: CVS commit: pkgsrc/pkgtools/pkg_install
From: Jonathan Perkin
Date: 2015-10-20 10:18:12
Message id: 20151020081812.5F6B698@cvs.netbsd.org

Log Message:
OpenBSD and derivatives define MACHINE_ARCH in sys/param.h to "amd64" which
overrides our attempt to set it to "x86_64" and ensure consistency across
platforms.  Work around this by setting it using PKGSRC_MACHINE_ARCH.

Confirmed to fix the issue and not break a variety of other platforms by
Sevan, and approved under duress by Joerg.

Files:
RevisionActionfile
1.212modifypkgsrc/pkgtools/pkg_install/Makefile
1.32modifypkgsrc/pkgtools/pkg_install/files/add/Makefile.in
1.107modifypkgsrc/pkgtools/pkg_install/files/add/perform.c