From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 17 03:04:11 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6721106566B for ; Sun, 17 Jul 2011 03:04:11 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id ABD998FC1A for ; Sun, 17 Jul 2011 03:04:11 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 758DC5615B; Sat, 16 Jul 2011 21:47:10 -0500 (CDT) Date: Sat, 16 Jul 2011 21:47:10 -0500 From: Mark Linimon To: emulation@FreeBSD.org, gabor@FreeBSD.org Message-ID: <20110717024710.GA19599@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: linimon@FreeBSD.org Subject: RFC: small patch to linux_base files for package building X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 03:04:11 -0000 pointyhat makes its INDEX file elsewhere from the client environment. Thus, the test for ${SYSCTL} -n compat.linux.osrelease might or might not match the clients. I want to put in the following patch in each of the Makefiles to be able to force the INDEX (same patch for each one). Any objections? Thanks. mcl Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/linux_base-f10/Makefile,v retrieving revision 1.60 diff -u -r1.60 Makefile --- Makefile 2 Mar 2011 10:11:21 -0000 1.60 +++ Makefile 17 Jul 2011 02:38:49 -0000 @@ -122,7 +122,9 @@ .include +.if !defined(PACKAGE_BUILDING) || (defined(PACKAGE_BUILDING) && !defined(LINUX_OSRELEASE) ) LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` +.endif .if ${LINUX_OSRELEASE}x == "x" IGNORE= linuxulator is not (kld)loaded