diff options
author | joerg <joerg@pkgsrc.org> | 2007-01-08 16:17:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-01-08 16:17:47 +0000 |
commit | 60e03660f43fd81b92aca78e3c7f45dc63e68474 (patch) | |
tree | e992dc3b902403104c5f9c2235be3b91d186625d /devel | |
parent | d3b96e01fe94124b4150a92f24b25c7e774186c8 (diff) | |
download | pkgsrc-60e03660f43fd81b92aca78e3c7f45dc63e68474.tar.gz |
libusb is recursively needed on !SunOS.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgphoto2/Makefile | 3 | ||||
-rw-r--r-- | devel/libgphoto2/buildlink3.mk | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/devel/libgphoto2/Makefile b/devel/libgphoto2/Makefile index 50ab917084e..c49673e81da 100644 --- a/devel/libgphoto2/Makefile +++ b/devel/libgphoto2/Makefile @@ -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 @@ CONFIGURE_FLAGS+= DOXYGEN=no 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 --git a/devel/libgphoto2/buildlink3.mk b/devel/libgphoto2/buildlink3.mk index bb8d30c6d3a..3f837fe4248 100644 --- a/devel/libgphoto2/buildlink3.mk +++ b/devel/libgphoto2/buildlink3.mk @@ -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_ABI_DEPENDS.libgphoto2+= libgphoto2>=2.1.6nb1 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" |