From owner-freebsd-multimedia Sat Feb 6 10:31:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA07816 for freebsd-multimedia-outgoing; Sat, 6 Feb 1999 10:31:57 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from pagesz.net (nina.pagesz.net [208.194.157.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA07811; Sat, 6 Feb 1999 10:31:54 -0800 (PST) (envelope-from rhh@pagesz.net) Received: from stealth.dummynet. (juana-12.pagesz.net [208.213.126.12]) by pagesz.net (8.8.7/8.8.7) with ESMTP id NAA05481; Sat, 6 Feb 1999 13:31:56 -0500 Received: (from rhh@localhost) by stealth.dummynet. (8.9.1/8.8.8) id NAA07710; Sat, 6 Feb 1999 13:32:33 -0500 (EST) (envelope-from rhh) Date: Sat, 6 Feb 1999 13:32:33 -0500 From: Randall Hopper To: Adrian Wontroba Cc: multimedia@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: ANN: Fxtv 0.48 Message-ID: <19990206133233.A5755@pagesz.net> References: <19990205221434.A8378@pagesz.net> <19990206094019.A56231@titus.stade.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990206094019.A56231@titus.stade.co.uk>; from Adrian Wontroba on Sat, Feb 06, 1999 at 09:40:19AM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (Ccing ports for advice) Thanks for the problem report. Here is what is in the fxtv port Makefile: LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg-6b \ tiff.4:${PORTSDIR}/graphics/tiff34 \ Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d \ Xpm.4:${PORTSDIR}/graphics/xpm Fxtv doesn't use JPEG, but the latest TIFF apparently depends on it now. So, fxtv must also. On 3.0-RELEASE, it's "jpeg-6b". On 3.0-STABLE, it's "jpeg". On 4.0-current, it's "jpeg". On 2.2.8, who knows -- the ports directory is empty. I'd like to have one port that builds on all versions, particularly those that are released (2.2.8 and 3.0). So my basic question is, how to cook this universal port? 1) Can I switch on some build variable, something like: ifeq ($(OS_VERSION),3.0-RELEASE) LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg-6b \ tiff.4:${PORTSDIR}/graphics/tiff34 \ Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d \ Xpm.4:${PORTSDIR}/graphics/xpm else LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff34 \ Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d \ Xpm.4:${PORTSDIR}/graphics/xpm endif 2) Or can I just eliminate the jpeg LIB_DEPENDS entry? Maybe the ports system is smart enough to know that because I depend on TIFF, and TIFF depends on JPEG, then by transitivity I depend on JPEG (?). And it'll register the JPEG dependency appropriately. Thanks for any advice. Randall Adrian Wontroba: |Randall Hopper: |> Available for your TV-viewing pleasure here on the new web site: |> http://www.pagesz.net/~aa8vb/fxtv/ |> |> Just fetch the port, untar, and "make install". Please let me know if |> you have any problems with it. | |I've just tried fxtv-0.48 with week old 4.0-current (with an unmodified ... |A small, non fatal problem with the packing list: | |===> fxtv-0.48 depends on shared library: jpeg.9 - found | |fxtv-0.48: "/usr/ports/graphics/jpeg-6b" non-existent -- dependency list incomplete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message