tech-pkg archive

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

Re: pkgsrc/pkgtools/pkg_install on OpenBSD/amd64

From: Ryo ONODERA <>, Date: Sun, 03 Nov 2013 
02:31:46 +0900 (JST)

> Hi,
> 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.


I cannot change the behavior of devel/bmake and pkgtools/pkg_install sadly.
Another candidate is adding *-*-amd64 to LP64PLATFORMS.

Can I add *-*-amd64 to LP64PLATFORMS?
Any other way?

Thank you.

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

Home | Main Index | Thread Index | Old Index