From owner-freebsd-gnome Thu Feb 13 22: 3:46 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD5137B401 for ; Thu, 13 Feb 2003 22:03:44 -0800 (PST) Received: from hotmail.com (f9.sea2.hotmail.com [207.68.165.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id B385943FA3 for ; Thu, 13 Feb 2003 22:03:43 -0800 (PST) (envelope-from reigncracks@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 13 Feb 2003 22:03:43 -0800 Received: from 68.103.37.247 by sea2fd.sea2.hotmail.msn.com with HTTP; Fri, 14 Feb 2003 06:03:42 GMT X-Originating-IP: [68.103.37.247] From: "Mezz bsdforums.org" To: gnome@freebsd.org Subject: Re: Here's Lumiere 0.4 ports.. Date: Fri, 14 Feb 2003 01:03:42 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Feb 2003 06:03:43.0534 (UTC) FILETIME=[D42F44E0:01C2D3EE] Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Mezz bsdforums.org schrieb: >>>a) You should never use fully-qualified paths like that. Instead, use >>>the ${LOCALBASE} or ${X11BASE} macros. >> >> >>I tried did that last night and recently, it doesn't work very well same >>as what full path does. I am not sure exactly why it doesn't work. I did >>"${LOCALBASE}/bin/mplayer", it will keep say it's broke when I already >>have mplayer installed. Do I need to put something speical inside the >>exists()? > >Actually ${LOCALBASE}/bin/mplayer should do it within the exists brackets. >What does your ports system think localbase is for you? >(cd your-port-dir && make -V LOCALBASE) "make -V LOCALBASE" works fine. The other var works as well in the Makefile, but not when it's inside the exist(). My ports tree has been acting a little funny lately. Like, sometime it will not install the depends, which I had to do it by manual (go each ports and install them).. Sometimes, it will work perfect by automatic. I think, it's time for me to do the buildworld (-CURRENT), update kernel, update ports tree and etc. >>>b) Why don't you add a RUN_DEPENDS on mplayer instead of doing the >>>BROKEN thing at all? >> >> >>Because, MPlayer has a lot of options to install it. So, I thought it >>would be good idea to force users to go to the ports and install by >>theirselves with extra options. Am I making any sense? > >I think I can understand what you're trying to do here. >You want the people to install mplayer with their favourite options befor >building lumiere?! >One thing is fully clear: You should use RUN_DEPENDS whether you want to or >not, because this program is only a frontend and completely useless without >the corresponding backend application. > >If you want the user to install mplayer before your port you could use a > >pre-everything:: > >target and throw a message that explains the situation to the user. >A dialog would be a solution, too, although I'd personally prefer to get >around without them. That's good idea. I put mplayer in the LIB_DEPENDS, which I explain more in the another email (replied to Joe's comment).. Thanks for help and give the feedback! :-) Cheers, Mezz _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message