From owner-freebsd-ports@FreeBSD.ORG Mon Mar 28 23:01:59 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66142106566C for ; Mon, 28 Mar 2011 23:01:59 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5F38FC1B for ; Mon, 28 Mar 2011 23:01:58 +0000 (UTC) Received: from atomizer (pool-72-77-28-206.pitbpa.fios.verizon.net [72.77.28.206]) by www6.pairlite.com (Postfix) with ESMTP id 9F476B829 for ; Mon, 28 Mar 2011 18:30:00 -0400 (EDT) Date: Mon, 28 Mar 2011 18:30:03 -0400 From: Rod Person To: ports@freebsd.org Message-ID: <20110328183003.0e57297e@atomizer> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_//d7ACj_mE.8_Juzd/VLF=Im" Cc: Subject: 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: Mon, 28 Mar 2011 23:01:59 -0000 --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--