From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=DATE_IN_PAST_12_24, DKIM_ADSP_NXDOMAIN,DMARC_MISSING,INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from chiba.3jane.net ([207.170.82.202] ident=root) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15OiHs-0003jR-00 for gentoo-dev@cvs.gentoo.org; Mon, 23 Jul 2001 10:10:28 -0600 Received: from chiba (damon@localhost [127.0.0.1]) by chiba.3jane.net (8.11.2/8.11.1) with ESMTP id f6NGAlu61269 for ; Mon, 23 Jul 2001 11:10:47 -0500 (CDT) (envelope-from damon@chiba.3jane.net) Message-Id: <200107231610.f6NGAlu61269@chiba.3jane.net> To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] IBTK/GATOS In-reply-to: <1DCB85BD45DED211B12D009027279E4F47680E@murcury> References: <1DCB85BD45DED211B12D009027279E4F47680E@murcury> Comments: In-reply-to Sean Mitchell message dated "Mon, 23 Jul 2001 11:40:38 -0400." From: "Damon M. Conway" Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Mon Jul 23 10:11:02 2001 X-Original-Date: Mon, 23 Jul 2001 11:10:47 -0500 X-Archives-Salt: 2ba99cd4-f07b-4bcf-8504-58d8fde2435f X-Archives-Hash: ee12ba554d5dc250fed716320e29e62d Sean Mitchell wrote: >I'm working on an ebuild for GATOS which uses the ibtk gui library. > >It looks like the only way to get the sources for GATOS & IBTK is by CVS. Is >there a way to use cvs as a SRC_URI? CVS doesn't seem to be a supported URI >from what I saw in the RFC. For now I've grabbed it myself, built tar.bz2s >and put them on my apache server. No clue. >The next problem I have is getting ibtk installed properly. It uses a >gtk-config style script called ibtk-config which seems to get built by >./configure. The problem is that when I specify --prefix=${D}/usr >ibtk-config gets built with this temporary prefix. When GATOS tries to use >it it goes looking in /tmp/portage/ibtk/image/ibtk-0.0.14/usr for include >files and such and the compile fails. > >Worse, the ibtk makefile doesn't accept an argument for make install ("make >install DESTDIR") so I can't do it that way. Anyone have any ideas here? You want to build it with --prefix=/usr, and install it with prefix=${D}/usr. Like so: src_compile() { try ./configure --prefix=/usr try make } src_install() { try make prefix=${D}/usr install } That has worked for me on xbatt and nmh. Damon -- "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." --Doug Gwyn