1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

The files we are looking for are also in ${LOCALBASE}/bin, this should

help people that installed binutils on an older version of FreeBSD
and upgraded base in the meantime.

e.g. Install binutils on 9.0 they got installed in

${LOCALBASE}/x86_64-portbld-freebsd9.0

after upgrading to 9.1 the nss port would look in

${LOCALBASE}/x86_64-portbld-freebsd9.1

and not find the tools its looking for, falling back to the tools from base
that don't support all the instructions the nss ports needs.

Avoid all this by using ${LOCALBASE}/bin
This commit is contained in:
Florian Smeets 2013-02-20 21:12:06 +00:00
parent f2ca136589
commit 253286a025
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312675

View File

@ -54,7 +54,7 @@ BINS= ${DIST}/${OPSYS}${OSREL}_DBG.OBJ
.if ${ARCH} == amd64
USE_BINUTILS= # intel-gcm.s
CFLAGS+= -B${LOCALBASE}/${CONFIGURE_TARGET:S/amd64/x86_64/}/bin
CFLAGS+= -B${LOCALBASE}/bin
.if defined(WITH_CLANG_IS_CC) || ${CC:Mcc} && ${OSVERSION} > 1000023
EXTRA_PATCHES+= ${FILESDIR}/extra-bug835050
.endif