pkgsrc/devel/libmtp/buildlink3.mk
jperkin 66935e30f6 Pull in devel/libusb on SunOS instead of the unsupported devel/libusb1, the
package detects which version is used at build time and handles both.
2014-08-21 14:03:45 +00:00

21 lines
466 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2014/08/21 14:03:45 jperkin Exp $
BUILDLINK_TREE+= libmtp
.if !defined(LIBMTP_BUILDLINK3_MK)
LIBMTP_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libmtp+= libmtp>=0.3.0
BUILDLINK_PKGSRCDIR.libmtp?= ../../devel/libmtp
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "SunOS"
.include "../../devel/libusb/buildlink3.mk"
.else
.include "../../devel/libusb1/buildlink3.mk"
.endif
.endif # LIBMTP_BUILDLINK3_MK
BUILDLINK_TREE+= -libmtp