From owner-svn-ports-branches@freebsd.org Fri Oct 16 20:09:37 2015 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2005A17757; Fri, 16 Oct 2015 20:09:37 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7703C1E98; Fri, 16 Oct 2015 20:09:37 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9GK9a8e056606; Fri, 16 Oct 2015 20:09:36 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9GK9anS056605; Fri, 16 Oct 2015 20:09:36 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510162009.t9GK9anS056605@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 16 Oct 2015 20:09:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r399511 - branches/2015Q4/net/openafs X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2015 20:09:37 -0000 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