From owner-freebsd-ports@FreeBSD.ORG Tue Mar 29 03:20:02 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E42D2106566B for ; Tue, 29 Mar 2011 03:20:02 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A78118FC0A for ; Tue, 29 Mar 2011 03:20:01 +0000 (UTC) Received: by iwn33 with SMTP id 33so5344624iwn.13 for ; Mon, 28 Mar 2011 20:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jWQe0gZZTXkSbdEJoLxuMwH/ld5qK5bbexq3yx3eN+I=; b=v/WfsB/bMd9uFMdNP7mBkordHezu6QrmrCeloygZvnubR363aE2CxaN2uJO9I8Id/e A4U83T6zN61QWroMNeslCWtsvHuQoh25dqE971fvREMX4+k4tHakT4SXSLSddMeBVz9L y2O766pdUyhdNzwlx0ORsTvMJvXV0JeKmjvks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=N+f/i84YvTjeZmprwJSxtDq/ZciZLUaigmger4ZIn6oMnKu45nn6++h2XpIx7KNqsK /64WjV3xKrf1cvdCWtkzbKM+3pXp105NONdISGqFOO1KpxnPZeXKQFl5M2YM903KnLJ6 LQeVoSQQd9wTNlXfbMVKzKk0s1yH4RRK6yPzQ= MIME-Version: 1.0 Received: by 10.231.143.129 with SMTP id v1mr4815231ibu.78.1301368801177; Mon, 28 Mar 2011 20:20:01 -0700 (PDT) Received: by 10.231.190.71 with HTTP; Mon, 28 Mar 2011 20:20:01 -0700 (PDT) In-Reply-To: <87r59qwtgo.fsf@gmail.com> References: <20110328183003.0e57297e@atomizer> <87r59qwtgo.fsf@gmail.com> Date: Mon, 28 Mar 2011 22:20:01 -0500 Message-ID: From: Jeremy Messenger To: Raphael Kubo da Costa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: Help with first port Makefile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 03:20:03 -0000 On Mon, Mar 28, 2011 at 9:28 PM, Raphael Kubo da Costa w= rote: > Rod Person writes: > >> If I put: >> =A0 =A0 =A0 USE_GNOME=3D yes >> in the Makefile everything builds great, but it checks for dependencies >> that aren't needed by Fotoxx. All I want to check is to make sure gtk20 >> is installed. I have tried the following, but all of these fail to find >> gtk20, even though it is installed on my system. >> >> LIB_DEPENDS=3D gtk20:${PORTSDIR}/x11-toolkits/gtk20 >> >> and >> >> LIB_DEPENDS=3D libgtk-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtk20 > > I suggest taking a look at section 5.7.1 of the porter's handbook, which > describes the format for LIB_DEPENDS entries. You almost got it right on > the second try -- by taking a quick glance at > /usr/ports/Mk/bsd.gnome.mk, you can see this in line 281: > > =A0gtk20_LIB_DEPENDS=3D =A0 =A0 =A0gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits= /gtk20 > > By the way, taking a look at the comments in the beginning of > bsd.gnome.mk is also a good idea, as it shows you can use something like > > =A0USE_GNOME=3Dgtk20 > > and be done with it. And... Visit here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ (Click on 'Using GNOME') Cheers, Mezz --=20 mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org