pkgsrc/audio/libmpcdec/buildlink3.mk
obache 816274ccf4 Update libmpcdec to 1.2.6.
While here, add DESTDIR support.

1.2.6
   * Fix an infinite loop regression from 1.2.3
   * Fix possible noise at the beginning of files

1.2.5
   * Properly increase API version since it has changed since 1.2.3
     Apps compiled with 1.2.2 WILL BREAK when used with 1.2.3 & 1.2.4 libs installed
2008-07-25 13:59:39 +00:00

20 lines
651 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2008/07/25 13:59:39 obache Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMPCDEC_BUILDLINK3_MK:= ${LIBMPCDEC_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libmpcdec
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpcdec}
BUILDLINK_PACKAGES+= libmpcdec
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmpcdec
.if ${LIBMPCDEC_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libmpcdec+= libmpcdec>=1.2.4
BUILDLINK_ABI_DEPENDS.libmpcdec+= libmpcdec>=1.2.6
BUILDLINK_PKGSRCDIR.libmpcdec?= ../../audio/libmpcdec
.endif # LIBMPCDEC_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}