Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 18:30:03 -0400
From:      Rod Person <rodperson@rodperson.com>
To:        ports@freebsd.org <ports@freebsd.org>
Subject:   Help with first port Makefile
Message-ID:  <20110328183003.0e57297e@atomizer>

next in thread | raw e-mail | index | archive | help
--MP_//d7ACj_mE.8_Juzd/VLF=Im
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I read "FreeBSD needs new blood!" by Martin Wilke and decided to try my
hand at this, but before diving into X11 like I want, I need to brush
off the C skills I haven't used in 10 years. I decided to first port
something from the Wanted Ports on the FreeBSD wiki and choose Fotoxx.

I've been successful in translating the code enough to get it to build
but I having some issues with the LIBS_DEPEND in the port Makefile.

Fotoxx depends on Libgtk2.0 as it is called, according to the web page,
in Ubuntu. This would be x11-toolkits/gtk20. 

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= libgtk-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtk20

I've also tried as BUILD_DEPENDS but it has the same result. I've
attached the Makefile in the current state.

Any help is greatly appreciated.

-- 
Rod Person
http://www.rodperson.com
  
"You ain't ready, yet."
 - Michael L. Flecther, Sr.
   aka Mike-A-Nike

--MP_//d7ACj_mE.8_Juzd/VLF=Im
Content-Type: application/octet-stream; name=Makefile
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=Makefile

IyBOZXcgcG9ydHMgY29sbGVjdGlvbiBtYWtlZmlsZSBmb3I6CWZvdG94eC0xMS4wMwojIERhdGUg
Y3JlYXRlZDoJMjggTWFyY2ggMjAxMQojIFdob206CQkJUm9kIFBlcnNvbiA8cm9kcGVyc29uQHJv
ZHBlcnNvbi5jb20+CiMKIyAkRnJlZUJTRCQKIwoKUE9SVE5BTUU9CWZvdG94eApQT1JUVkVSU0lP
Tj0JMTEuMDMKQ0FURUdPUklFUz0JZ3JhcGhpY3MKTUFTVEVSX1NJVEVTPQlodHRwOi8va29ybmVs
aXguc3F1YXJlc3BhY2UuY29tL2Rvd25sb2Fkcy8KCk1BSU5UQUlORVI9CXJvZHBlcnNvbkByb2Rw
ZXJzb24uY29tCkNPTU1FTlQ9CUFwcGxpY2F0aW9uIHRvIG9yZ2FuaXplIGFuZCBlZGl0IGltYWdl
IGNvbGxlY3Rpb25zCgpMSUJfREVQRU5EUz0JZ3RrMjA6JHtQT1JUU0RJUn0veDExLXRvb2xraXRz
L2d0azIwClJVTl9ERVBFTkRTPQl4ZGctdXRpbHM6JHtQT1JUU0RJUn0vZGV2ZWwveGRnLXV0aWxz
IFwKCSAgICAgdWZyYXctYmF0Y2g6JHtQT1JUU0RJUn0vZ3JhcGhpY3MvdWZyYXcgXAoJICAgICB4
ZGctdXRpbHM6JHtQT1JUU0RJUn0vZGV2ZWwveGRnLXV0aWxzCgpHTlVfR01BS0U9CXllcwoKTUFO
MT0JZm90b3h4LjEKLmluY2x1ZGUgPGJzZC5wb3J0Lm1rPgo=

--MP_//d7ACj_mE.8_Juzd/VLF=Im--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110328183003.0e57297e>