summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-05-11 09:13:39 +0000
committerjperkin <jperkin@pkgsrc.org>2018-05-11 09:13:39 +0000
commit8e3195e921b02ed2a5058edbe3ec789d8436da54 (patch)
tree2a4a074031178d2676cd1df9db55a7a381c1d416
parent7233d5ef4e711aa4530f4883521f140ed98ad4d3 (diff)
downloadpkgsrc-8e3195e921b02ed2a5058edbe3ec789d8436da54.tar.gz
p5-Text-Iconv: Ensure build can find libiconv.
Fixes PR#53275
-rw-r--r--converters/p5-Text-Iconv/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/p5-Text-Iconv/Makefile b/converters/p5-Text-Iconv/Makefile
index 95f8432536c..855dece58e2 100644
--- a/converters/p5-Text-Iconv/Makefile
+++ b/converters/p5-Text-Iconv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2017/06/05 14:22:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2018/05/11 09:13:39 jperkin Exp $
DISTNAME= Text-Iconv-1.7
PKGNAME= p5-${DISTNAME}
@@ -12,6 +12,9 @@ COMMENT= Perl interface to iconv() codeset conversion function
PERL5_PACKLIST= auto/Text/Iconv/.packlist
+MAKE_PARAMS+= INC="-I${BUILDLINK_PREFIX.iconv}/include"
+MAKE_PARAMS+= LIBS="-L${BUILDLINK_PREFIX.iconv}/lib"
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"