From owner-svn-ports-all@freebsd.org Wed Sep 9 08:01:01 2015 Return-Path: Delivered-To: svn-ports-all@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 1D60EA00594; Wed, 9 Sep 2015 08:01:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 0E7DB1C81; Wed, 9 Sep 2015 08:01:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t89810mp063308; Wed, 9 Sep 2015 08:01:00 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t89810q9063307; Wed, 9 Sep 2015 08:01:00 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201509090801.t89810q9063307@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 9 Sep 2015 08:01:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396453 - head/net/openafs X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2015 08:01:01 -0000 Author: danfe Date: Wed Sep 9 08:01:00 2015 New Revision: 396453 URL: https://svnweb.freebsd.org/changeset/ports/396453 Log: Unbreak the build on FreeBSD 10.2 (until official support arrives). Modified: head/net/openafs/Makefile Modified: head/net/openafs/Makefile ============================================================================== --- head/net/openafs/Makefile Wed Sep 9 06:39:22 2015 (r396452) +++ head/net/openafs/Makefile Wed Sep 9 08:01:00 2015 (r396453) @@ -77,10 +77,6 @@ FUSE_CONFIGURE_OFF= --disable-fuse-clien CFLAGS+= -mstackrealign .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1002000 && ${OSVERSION} < 1100000 -BROKEN= does not build, no support for FreeBSD 10.2 yet -.endif - KERNCONF?= GENERIC KERNCONFDIR?= ${SRC_BASE}/sys/${ARCH}/conf @@ -98,6 +94,12 @@ post-extract: ${MKDIR} ${WRKDIR}/conf cd ${KERNCONFDIR} && \ /usr/sbin/config -d ${WRKDIR}/conf ${_KERNCONF} >/dev/null +# Unbreak on FreeBSD 10.2 (until official support arrives) + @${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 + @${REINPLACE_CMD} -e '/fbsd_101/ { h; s/101/102/; s/31/32/; x; G; }' \ + ${WRKSRC}/src/config/afs_sysnames.h create-sample-files: @${ECHO_CMD} openafs.org > ${WRKDIR}/ThisCell