aboutsummaryrefslogtreecommitdiffstats
path: root/security/nss
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2013-02-21 05:12:06 +0800
committerflo <flo@FreeBSD.org>2013-02-21 05:12:06 +0800
commit9889618c87125d25c4b723cf51f6ccc44e259994 (patch)
tree7f02d2b5a048513452922a2acb98edf1637fe023 /security/nss
parent73beda45de75b8f289f2292e5450781b2f3d8d2d (diff)
downloadfreebsd-ports-graphics-9889618c87125d25c4b723cf51f6ccc44e259994.tar.gz
freebsd-ports-graphics-9889618c87125d25c4b723cf51f6ccc44e259994.tar.zst
freebsd-ports-graphics-9889618c87125d25c4b723cf51f6ccc44e259994.zip
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
Diffstat (limited to 'security/nss')
-rw-r--r--security/nss/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index 52bc584b960..94531465da0 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -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