pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libgphoto2 libusb is recursively needed on !SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edbb4c61a02e
branches:  trunk
changeset: 523486:edbb4c61a02e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jan 08 16:17:47 2007 +0000

description:
libusb is recursively needed on !SunOS.

diffstat:

 devel/libgphoto2/Makefile      |  3 ++-
 devel/libgphoto2/buildlink3.mk |  7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 3b1328c812c1 -r edbb4c61a02e devel/libgphoto2/Makefile
--- a/devel/libgphoto2/Makefile Mon Jan 08 16:16:38 2007 +0000
+++ b/devel/libgphoto2/Makefile Mon Jan 08 16:17:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/01/08 02:39:42 rillig Exp $
+# $NetBSD: Makefile,v 1.34 2007/01/08 16:17:47 joerg Exp $
 
 DISTNAME=      libgphoto2-2.3.1
 CATEGORIES=    devel graphics
@@ -19,6 +19,7 @@
 PKGCONFIG_OVERRIDE+=   libgphoto2/libgphoto2.pc.in
 
 .include "../../mk/bsd.prefs.mk"
+# Keep this in sync with buildlink3.mk!
 .if ${OPSYS} == "SunOS"
 PLIST_SUBST+=          HAVE_LIBUSB="@comment "
 .else
diff -r 3b1328c812c1 -r edbb4c61a02e devel/libgphoto2/buildlink3.mk
--- a/devel/libgphoto2/buildlink3.mk    Mon Jan 08 16:16:38 2007 +0000
+++ b/devel/libgphoto2/buildlink3.mk    Mon Jan 08 16:17:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2007/01/02 18:32:47 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2007/01/08 16:17:47 joerg Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 LIBGPHOTO2_BUILDLINK3_MK:=     ${LIBGPHOTO2_BUILDLINK3_MK}+
@@ -17,6 +17,11 @@
 BUILDLINK_PKGSRCDIR.libgphoto2?=       ../../devel/libgphoto2
 .endif # LIBGPHOTO2_BUILDLINK3_MK
 
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} != "SunOS"
+.include "../../devel/libusb/buildlink3.mk"
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"



Home | Main Index | Thread Index | Old Index