From owner-freebsd-x11@FreeBSD.ORG Mon Jul 11 09:09:34 2011 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFBC5106564A; Mon, 11 Jul 2011 09:09:34 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id B04848FC1B; Mon, 11 Jul 2011 09:09:34 +0000 (UTC) Received: from [192.168.0.130] (vie-188-118-244-195.dsl.sil.at [188.118.244.195]) by ainaz.pair.com (Postfix) with ESMTP id BBF463F40F; Mon, 11 Jul 2011 04:36:54 -0400 (EDT) Date: Mon, 11 Jul 2011 10:37:08 +0200 (CEST) From: Gerald Pfeifer To: Robert Noland , x11@FreeBSD.org In-Reply-To: Message-ID: References: <4BFA8A71.5000304@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: Simplify relative path in libGLU/Makefile X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 09:09:34 -0000 Hi there, On Sun, 22 May 2011, Gerald Pfeifer wrote: > The usecase here is where someone checks out individual ports as > opposed to the entire tree or subtrees and builds them. > > This works very fine in general, there are but one or two ports > where this fails for me. graphics/libGLU is one of them. > > > I am pretty convinced my patch is not less correcty technically, > but rather more. It works both with a full ports checkout, and > the scenario I describe below. how about this patch? I did not see a response and would like to commit if there are no objections. Gerald @FreeBSD.org Index: Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/libGLU/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 25 Feb 2011 16:52:06 -0000 1.14 +++ Makefile 11 Jul 2011 08:35:13 -0000 @@ -19,5 +19,5 @@ ${INSTALL_DATA} ${WRKSRC}/include/GL/glu*.h ${PREFIX}/include/GL/ cd ${WRKSRC}/src/glu; ${GMAKE} install -.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk" +.include "${.CURDIR}/../libGL/bsd.mesalib.mk" .include