pkgsrc-Users archive

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

Re: Bootstrap pkgsrc cvs from 05 November 2021 UnixWare 7



Hi,

I can't get the MACHINE_GNU_ARCH

On Friday 2021-11-12 09:25, Boyd Lynn Gerber wrote:

Hello thank you,

On Friday 2021-11-12 07:39, nia wrote:
 ${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}${APPEND_ABI}

 It looks to me like MACHINE_GNU_ARCH is not being computed properly
 by pkgsrc.

 Perhaps UnixWare uses an uncommon uname, which pkgsrc is not
 able to match to GNU_ARCH. Maybe you can play with bsd.prefs.mk.


Adding these to mk/bsd.prefs.mk"

.elif ${OPSYS} == "UnixWare"
MACHINE_GNU_ARCH?=      ${UNAME} -m
MACHINE_ARCH?=          i386
SCO_RELEASE?=           sysv5${OPSYS}
SCO_VERSION!=           ${UNAME} -v
LOWER_VENDOR?=          unknown
LOWER_OPSYS_VERSUFFIX=  ${SCO_RELEASE}${SCO_VERSION}

gives me -unknown-sysv5UnixWare7.1.4

I can' get the i386 before


....

.elif ${OPSYS} == "UnixWare"
OBJECT_FMT=     ELF
.endif

Regards,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index