From owner-freebsd-ports Sat Nov 27 10:15: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 16B54154D3 for ; Sat, 27 Nov 1999 10:14:44 -0800 (PST) (envelope-from van.woerkom@netcologne.de) Received: from oranje.my.domain (dial-ra-nc4-164.netcologne.de [195.14.254.164]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id TAA04506; Sat, 27 Nov 1999 19:14:37 +0100 (MET) Received: (from marc@localhost) by oranje.my.domain (8.9.3/8.9.3) id TAA01031; Sat, 27 Nov 1999 19:13:36 +0100 (CET) (envelope-from van.woerkom@netcologne.de) Date: Sat, 27 Nov 1999 19:13:36 +0100 (CET) Message-Id: <199911271813.TAA01031@oranje.my.domain> X-Authentication-Warning: oranje.my.domain: marc set sender to van.woerkom@netcologne.de using -f From: Marc van Woerkom To: sprice@hiwaay.net Cc: jedgar@fxp.org, van.woerkom@netcologne.de, freebsd-ports@FreeBSD.ORG In-reply-to: (message from Steve Price on Sat, 27 Nov 1999 10:26:31 -0600 (CST)) Subject: Re: INSTALL_PROGRAM considered harmful for Linux apps Reply-To: van.woerkom@netcologne.de References: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > You can also put 'STRIP=' in the ports Makefile and still > use INSTALL_PROGRAM. I'm pretty sure this is what a couple > of the other linux binary ports do and looks cleanest (IMHO). Thanks a lot, I'll try that. Had no time to analyze the other Linux ports, as I want to have q3test out ASAP for testing. Guess I have it together now, except for a good default game configurartion. What I lack however is - a correct DEPEND_XY statement for this case: What I need is that the port should just check that a certain package has been registered, if yes ok, if not it should be build. Hereby I want 'name with version' as DISTNAME, that gets registered, like glx-990802 hardware accelerated OpenGL 3d graphics (RIVA & G200/G400) linux_glx-991127 libraries to make use of glx aware Linux apps but check only for 'name', like '../ports/graphics/glx' without version in # look for Linux lib, not a normal lib .if defined(IF_I_HAD_A_PLAN_HOW_TO_SOLVE_THIS) DEPENDS= ${PORTSDIR}/emulators/linux_base \ ${PORTSDIR}/graphics/linux_glx \ ${PORTSDIR}/graphics/glx .endif By the way, the DEPENDS_LIB macro seems only to make sense for FreeBSD native libs. I doubt that I can use it to ensure certain Linux libs to be present. - anyone has the command line options for q3a? :-) Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message