pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libass Add library for iconv to LDFLAGS in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c32b52a94db0
branches:  trunk
changeset: 632240:c32b52a94db0
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Mar 21 07:58:25 2014 +0000

description:
Add library for iconv to LDFLAGS in all cases, not only SunOS.
detection of iconv is not sufficient, especially for the case iconv from pkgsrc
is preferred to builtin one in libc.

diffstat:

 multimedia/libass/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 299cea85fe22 -r c32b52a94db0 multimedia/libass/Makefile
--- a/multimedia/libass/Makefile        Fri Mar 21 07:14:15 2014 +0000
+++ b/multimedia/libass/Makefile        Fri Mar 21 07:58:25 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/01/14 14:28:21 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2014/03/21 07:58:25 obache Exp $
 
 DISTNAME=      libass-0.10.2
 PKGREVISION=   1
@@ -17,7 +17,7 @@
 
 PKGCONFIG_OVERRIDE+=   libass.pc.in
 
-LDFLAGS.SunOS+=        -liconv
+LDFLAGS+=      ${BUILDLINK_LDADD.iconv}
 
 BUILDLINK_API_DEPENDS.fribidi+=        fribidi>=0.19.0
 .include "../../converters/fribidi/buildlink3.mk"



Home | Main Index | Thread Index | Old Index