svn commit: r312675 - head/security/nss

Florian Smeets flo at FreeBSD.org
Wed Feb 20 21:12:06 UTC 2013


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


More information about the svn-ports-head mailing list