Subject: pkg/36202: libgphoto2 fails to build on darwin
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jussi.liukkonen@snorkkeli.homeip.net>
List: pkgsrc-bugs
Date: 04/24/2007 07:10:01
>Number: 36202
>Category: pkg
>Synopsis: libgphoto2 fails to build on darwin
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 24 07:10:01 +0000 2007
>Originator: Jussi Liukkonen
>Release: none
>Organization:
Headache, Inc
>Environment:
Darwin rousku.koti2.net 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc
>Description:
With pkgsrc-2007Q1, libgphoto2 build fails with "Don't know how to make -lltdl. Stop" on darwin (Mac OS X 10.4.9 powerpc). This problem was not present in pkgsrc-2006Q4. With USE_TOOLS+=gmake, the build succeeds.
>How-To-Repeat:
cd devel/libgphoto2; bmake
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libgphoto2/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile 20 Mar 2007 10:22:31 -0000 1.36
+++ Makefile 24 Apr 2007 05:50:19 -0000
@@ -12,7 +12,7 @@
CONFLICTS+= gphoto<2.1.1
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config gmake
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes