Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 22:20:01 -0500
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        Raphael Kubo da Costa <kubito@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Help with first port Makefile
Message-ID:  <AANLkTi=EKswehX3nxwT%2BwsHjK-5R1LCGcqWZCDHxOPVe@mail.gmail.com>
In-Reply-To: <87r59qwtgo.fsf@gmail.com>
References:  <20110328183003.0e57297e@atomizer> <87r59qwtgo.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 28, 2011 at 9:28 PM, Raphael Kubo da Costa <kubito@gmail.com> w=
rote:
> Rod Person <rodperson@rodperson.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=EKswehX3nxwT%2BwsHjK-5R1LCGcqWZCDHxOPVe>