svn commit: r399511 - branches/2015Q4/net/openafs

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Oct 16 20:09:37 UTC 2015


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
 


More information about the svn-ports-all mailing list