Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2015 11:56:38 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399434 - head/net/openafs
Message-ID:  <201510161156.t9GBucrP003998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct 16 11:56:38 2015
New Revision: 399434
URL: https://svnweb.freebsd.org/changeset/ports/399434

Log:
  - Extend danfe's fix to unbreak on amd64 as well
  
  Suggested by:	danfe
  Approved by:	portmgr blanket
  MFH:		2015Q4

Modified:
  head/net/openafs/Makefile

Modified: head/net/openafs/Makefile
==============================================================================
--- head/net/openafs/Makefile	Fri Oct 16 11:30:30 2015	(r399433)
+++ head/net/openafs/Makefile	Fri Oct 16 11:56:38 2015	(r399434)
@@ -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
 
@@ -99,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?201510161156.t9GBucrP003998>