tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc/pkgtools/pkg_install on OpenBSD/amd64


OpenBSD/amd64's "uname -p" and "uname -m" returns "amd64".
And /usr/include/machine/param.h has following lines.

#define MACHINE_ARCH    "amd64"

It results pkg_add command is configured for amd64 not x86_64.

For example, pkgsrc's LP64PLATFORMS variable is designed for x86_64,
not for amd64.
Then package that uses LP64PLATFORMS for conditional expression cannot
work properly, for example, pkgsrc/devel/nss.

How to handle this problem?

I feel this problem is similar to earm sf/hf problem described in and
in some aspect.

PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Home | Main Index | Thread Index | Old Index