pkgsrc-Bugs archive

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

Re: pkg/45788: devel/swt never builds for arch/i386



On Fri, 2012-01-06 at 01:30 +0000, Thomas Klausner wrote:
>  How can LOWER_ARCH become i486 on NetBSD?

bsd.prefs.mk:293:
LOWER_ARCH?=                    ${MACHINE_GNU_ARCH}

GNU_ARCH.i486> i386 <
MACHINE_GNU_ARCH> i486 <

bsd.prefs.mk:98:
MACHINE_GNU_ARCH?=              ${GNU_ARCH.${MACHINE_ARCH}:U${MACHINE_ARCH}}

MACHINE_ARCH> i386 <
GNU_ARCH.i386> i486 <

/usr/share/bsd.own.mk:657
GNU_ARCH.i386=i486

so:
--- /usr/share/mk/bsd.own.mk.orig       2012-01-06 02:30:52.000000000 +0000
+++ /usr/share/mk/bsd.own.mk    2012-01-06 02:31:29.000000000 +0000
@@ -654,7 +654,7 @@
 # GNU sources and packages sometimes see architecture names
differently.
 #
 GNU_ARCH.coldfire=m68k
-GNU_ARCH.i386=i486
+GNU_ARCH.i386=i386
 GCC_CONFIG_ARCH.i386=i486
 GCC_CONFIG_TUNE.i386=nocona
 GCC_CONFIG_TUNE.x86_64=nocona

that in and out-commented the swt patch and whole does build.

Noud
-- 



Home | Main Index | Thread Index | Old Index