Help with first port Makefile

Jeremy Messenger mezz.freebsd at
Tue Mar 29 03:20:03 UTC 2011

On Mon, Mar 28, 2011 at 9:28 PM, Raphael Kubo da Costa <kubito at> wrote:
> Rod Person <rodperson at> writes:
>> If I put:
>>       USE_GNOME= 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= gtk20:${PORTSDIR}/x11-toolkits/gtk20
>> and
>> LIB_DEPENDS=${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/, you can see this in line 281:
>  gtk20_LIB_DEPENDS=      gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
> By the way, taking a look at the comments in the beginning of
> is also a good idea, as it shows you can use something like
>  USE_GNOME=gtk20
> and be done with it.

And... Visit here:
(Click on 'Using GNOME')


mezz.freebsd at - mezz at
FreeBSD GNOME Team - gnome at

More information about the freebsd-ports mailing list