Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 21:12:06 +0000 (UTC)
From:      Florian Smeets <flo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312675 - head/security/nss
Message-ID:  <201302202112.r1KLC65L032082@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: flo
Date: Wed Feb 20 21:12:06 2013
New Revision: 312675
URL: http://svnweb.freebsd.org/changeset/ports/312675

Log:
  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

Modified:
  head/security/nss/Makefile

Modified: head/security/nss/Makefile
==============================================================================
--- head/security/nss/Makefile	Wed Feb 20 21:01:57 2013	(r312674)
+++ head/security/nss/Makefile	Wed Feb 20 21:12:06 2013	(r312675)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302202112.r1KLC65L032082>