From owner-freebsd-ports@FreeBSD.ORG Wed Jan 19 01:23:35 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2665F16A4CE for ; Wed, 19 Jan 2005 01:23:35 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 688DB43D39 for ; Wed, 19 Jan 2005 01:23:34 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id 932351DD5D2; Wed, 19 Jan 2005 02:23:33 +0100 (CET) Received: from niobe.ijs.si ([127.0.0.1]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41105-06; Wed, 19 Jan 2005 02:23:31 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id 919B61DD5BE; Wed, 19 Jan 2005 02:23:28 +0100 (CET) Received: from idefix.ijs.si (idefix.ijs.si [193.2.4.33]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by metatron.ijs.si (Postfix) with ESMTP id E8C541C00716; Wed, 19 Jan 2005 02:23:27 +0100 (CET) From: Dejan Lesjak To: Clint Olsen Date: Wed, 19 Jan 2005 02:23:27 +0100 User-Agent: KMail/1.7.2 References: <200501190108.31547.dejan.lesjak@ijs.si> <20050119003918.GD90669@0lsen.net> In-Reply-To: <20050119003918.GD90669@0lsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501190223.27426.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si cc: freebsd-ports@freebsd.org Subject: Re: Reverse engineering x11/xorg for VNC build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 01:23:35 -0000 On Wednesday 19 of January 2005 01:39, Clint Olsen wrote: > On Jan 19, Dejan Lesjak wrote: > > You are probably looking for > > x11-servers/xorg-server/files/patch-FreeBSD.cf You can probably just > > throw a #define FreeBSDCC cc #define FreeBSDCFLAGS in host.def or > > define them on imake command line or something... I don't quite > > understand what you are doing there, but feel free to contact me if you > > get lost among Imakes :) > > I'm basically interested in doing a 'make World' in the tree. With VNC, in > order to build the vncserver (Xvnc for all practical purposes), you > actually build the darn thing in the X source tree. Building X is not my > favorite waste of time, so I thought I'd leverage the work already done in > the ports system. So, I created a link tree so all the patches and goodies > applied would be seen when I built this thing. However, finding out even > what the heck the top-level build command is in the ports system is not as > easy as one would think. And yes, I have gone to the webpage to see how a > port is made. > > -Clint It would help to know which VNC are you building. There are a couple in ports tree already (like RealVNC in net/vnc). I'm not sure X ports will help you much as they are modified in a way that permits building and installing separate components of the distribution (and ports specific stuff like setting CFLAGS, PTHREAD_LIBS and such in ) and that might not be what your VNC sources are expecting. Other than that, building X outside of ports should work by just 'make World'. Dejan