pkgsrc-Bugs archive

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

Re: pkg/50708: pkgtools/bootstrap-mk-files FreeBSD amd64 OBJECT_FMT problem



On Tue, Jan 26, 2016 at 05:20:00PM +0000, David Shao wrote:
>  One workaround seems to be to change the Makefile:
>  
>  --- Makefile    2016-01-26 08:51:57.379579000 -0800
>  +++ Makefile.new        2016-01-26 03:00:21.611460000 -0800
>  @@ -83,7 +83,7 @@
>   PLIST_SUBST+=  PY_PLATNAME=${PY_PLATNAME:Q}
>  
>   .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
>  -    (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") || \
>  +    (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "amd64") ||
>  (${MACHINE_ARCH} == "powerpc64")
>  || \
>       (defined(ABI) && ${ABI} == "64")
>   IS_64BIT_PLATFORM?=    yes
>   .else
>  

This is wrong. MACHINE_ARCH is supposed to be x86_64, not amd64.

Joerg


Home | Main Index | Thread Index | Old Index