summaryrefslogtreecommitdiff
path: root/audio/lame
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-08-30 15:45:28 +0000
committerjperkin <jperkin@pkgsrc.org>2022-08-30 15:45:28 +0000
commitb96c851a7cf0e436d9b2cf351e53d0dfae2d8e49 (patch)
treeb5a8ec141c1b62d22dcc9aa8ad5749264eda2600 /audio/lame
parentf1ca98834d6dde3eb6446a067ca214b174be2693 (diff)
downloadpkgsrc-b96c851a7cf0e436d9b2cf351e53d0dfae2d8e49.tar.gz
lame: Pull in iconv when the option is enabled.
Diffstat (limited to 'audio/lame')
-rw-r--r--audio/lame/buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/lame/buildlink3.mk b/audio/lame/buildlink3.mk
index 24d5f0a6a11..4fc67968f89 100644
--- a/audio/lame/buildlink3.mk
+++ b/audio/lame/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2009/03/20 19:23:54 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2022/08/30 15:45:28 jperkin Exp $
BUILDLINK_TREE+= lame
@@ -8,6 +8,14 @@ LAME_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.lame+= lame>=3.93.1nb2
BUILDLINK_ABI_DEPENDS.lame+= lame>=3.96.1nb4
BUILDLINK_PKGSRCDIR.lame?= ../../audio/lame
+
+pkgbase:= lame
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.lame:Municode}
+. include "../../converters/libiconv/buildlink3.mk"
+.endif
+
.endif # LAME_BUILDLINK3_MK
BUILDLINK_TREE+= -lame