Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2015 20:09:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r399511 - branches/2015Q4/net/openafs
Message-ID:  <201510162009.t9GK9anS056605@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct 16 20:09:36 2015
New Revision: 399511
URL: https://svnweb.freebsd.org/changeset/ports/399511

Log:
  MFH: r399434
  
  - Extend danfe's fix to unbreak on amd64 as well
  
  Suggested by:	danfe
  Approved by:	portmgr blanket
  Approved by:	ports-secteam (feld)

Modified:
  branches/2015Q4/net/openafs/Makefile
Directory Properties:
  branches/2015Q4/   (props changed)

Modified: branches/2015Q4/net/openafs/Makefile
==============================================================================
--- branches/2015Q4/net/openafs/Makefile	Fri Oct 16 19:39:40 2015	(r399510)
+++ branches/2015Q4/net/openafs/Makefile	Fri Oct 16 20:09:36 2015	(r399511)
@@ -95,9 +95,11 @@ post-extract:
 	cd ${KERNCONFDIR} && \
 	    /usr/sbin/config -d ${WRKDIR}/conf ${_KERNCONF} >/dev/null
 # Unbreak on FreeBSD 10.2 (until official support arrives)
+.for a in i386 amd64
 	@${SED} -e 's,101,102, ; /FBSD102_ENV/ { h; s/102/101/; G; }' \
-		${WRKSRC}/src/config/param.i386_fbsd_101.h \
-		> ${WRKSRC}/src/config/param.i386_fbsd_102.h
+		${WRKSRC}/src/config/param.${a}_fbsd_101.h \
+		> ${WRKSRC}/src/config/param.${a}_fbsd_102.h
+.endfor
 	@${REINPLACE_CMD} -e '/fbsd_101/ { h; s/101/102/; s/31/32/; x; G; }' \
 		${WRKSRC}/src/config/afs_sysnames.h
 



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