Fix build on OpenIndiana and probably other SunOS variants. Recent SunOS
has a native libusb, so enable the USB backend.
This commit is contained in:
parent
934e159e35
commit
5684a386d7
3 changed files with 4 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.52 2011/04/22 13:42:02 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.53 2011/04/28 11:16:35 hans Exp $
|
||||
|
||||
DISTNAME= libgphoto2-2.4.7
|
||||
PKGREVISION= 3
|
||||
|
@ -20,14 +20,8 @@ USE_PKGLOCALEDIR= yes
|
|||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= ac_cv_path_DOXYGEN=false
|
||||
PKGCONFIG_OVERRIDE+= libgphoto2.pc.in libgphoto2_port/libgphoto2_port.pc.in
|
||||
PLIST_VARS+= libusb
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
# Keep this in sync with libusb/buildlink3.mk!
|
||||
.if ${OPSYS} != "SunOS"
|
||||
. include "../../devel/libusb/buildlink3.mk"
|
||||
PLIST.libusb= yes
|
||||
.endif
|
||||
|
||||
# remove symbolic link
|
||||
post-install:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST.common,v 1.16 2009/05/19 07:50:13 obache Exp $
|
||||
@comment $NetBSD: PLIST.common,v 1.17 2011/04/28 11:16:35 hans Exp $
|
||||
bin/gphoto2-config
|
||||
bin/gphoto2-port-config
|
||||
include/gphoto2/gphoto2-abilities-list.h
|
||||
|
@ -84,7 +84,7 @@ lib/libgphoto2/${PKGVERSION}/toshiba_pdrm11.la
|
|||
lib/libgphoto2_port/0.8.0/disk.la
|
||||
lib/libgphoto2_port/0.8.0/ptpip.la
|
||||
lib/libgphoto2_port/0.8.0/serial.la
|
||||
${PLIST.libusb}lib/libgphoto2_port/0.8.0/usb.la
|
||||
lib/libgphoto2_port/0.8.0/usb.la
|
||||
lib/pkgconfig/libgphoto2.pc
|
||||
lib/pkgconfig/libgphoto2_port.pc
|
||||
man/man3/libgphoto2.3
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.16 2011/04/22 13:42:02 obache Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.17 2011/04/28 11:16:35 hans Exp $
|
||||
|
||||
BUILDLINK_TREE+= libgphoto2
|
||||
|
||||
|
@ -10,10 +10,7 @@ BUILDLINK_ABI_DEPENDS.libgphoto2+= libgphoto2>=2.4.7nb3
|
|||
BUILDLINK_PKGSRCDIR.libgphoto2?= ../../devel/libgphoto2
|
||||
|
||||
.include "../../mk/bsd.fast.prefs.mk"
|
||||
.if ${OPSYS} != "SunOS"
|
||||
.include "../../devel/libusb/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../devel/libltdl/buildlink3.mk"
|
||||
.include "../../converters/libiconv/buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue