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
On 22 May 2015 at 00:23, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> On Fri, May 22, 2015 at 12:11:37AM +0100, Sevan / Venture37 wrote:
>>
>>
>> > On 22 May 2015, at 00:02, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
>> >
>> > Have you tried just setting GNU_ARCH.x86_64=amd64 on OpenBSD?
>>
>> No, I'll give it a try next & report back over the next couple of days once the current bulkbuild has finished.
>> Define that in bsd.prefs.mk, right?
>
> Yeah, in the OpenBSD block.
I undone my previous changes, made the following to mk/bsd.prefs.mk
Index: mk/bsd.prefs.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.prefs.mk,v
retrieving revision 1.364
diff -u -p -u -r1.364 bsd.prefs.mk
--- mk/bsd.prefs.mk 29 Apr 2015 14:23:23 -0000 1.364
+++ mk/bsd.prefs.mk 22 May 2015 16:46:24 -0000
@@ -232,6 +232,18 @@ OS_VERSION= 3.0
. endif
. endif
+.elif ${OPSYS} == "OpenBSD"
+LOWER_OPSYS?= openbsd
+LOWER_OS_VERSION= ${OS_VERSION}
+LOWER_OPSYS_VERSUFFIX= ${OS_VERSION}
+LOWER_ARCH!= arch -s
+. if ${LOWER_ARCH} == "amd64"
+MACHINE_ARCH= x86_64
+GNU_ARCH.x86_64= amd64
+. else
+MACHINE_ARCH= ${LOWER_ARCH}
+. endif
+
.elif ${OPSYS} == "MirBSD"
LOWER_OPSYS?= mirbsd
LOWER_OS_VERSION= ${OS_VERSION}
re-bootstrapped, pkg_add fails again on
pkg_add: Warning: package `digest-20121220' was built for a platform:
pkg_add: OpenBSD/x86_64 5.7 (pkg) vs. OpenBSD/amd64 5.7 (this host)
pkg_add: 1 package addition failed
Sevan
Home |
Main Index |
Thread Index |
Old Index