pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/cdrtools fix iconv linkage when converters/li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c08ea00df1c7
branches:  trunk
changeset: 648342:c08ea00df1c7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Mar 13 17:51:15 2015 +0000

description:
fix iconv linkage when converters/libiconv is in use

diffstat:

 sysutils/cdrtools/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 53cda42db7bd -r c08ea00df1c7 sysutils/cdrtools/Makefile
--- a/sysutils/cdrtools/Makefile        Fri Mar 13 17:46:25 2015 +0000
+++ b/sysutils/cdrtools/Makefile        Fri Mar 13 17:51:15 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2014/10/09 14:06:57 wiz Exp $
+# $NetBSD: Makefile,v 1.110 2015/03/13 17:51:15 tnn Exp $
 
 DISTNAME=      cdrtools-3.01a24
 PKGNAME=       ${DISTNAME:S/a/alpha/:S/-pre/pre/}
@@ -23,6 +23,8 @@
 CFLAGS.NetBSD+=        -DUSE_GETRAWPARTITION
 LDFLAGS.NetBSD+=       -lutil
 
+LDFLAGS+=      ${BUILDLINK_LDADD.iconv}
+
 # NetBSD 6.0 (and update releases) have incomplete implemenations of the
 # "*at" system calls. Pretend that they aren't present at all to
 # avoid build failures.
@@ -147,6 +149,7 @@
        ${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
                ${DESTDIR}${PREFIX}/share/examples/cdrtools/cdrecord
 
-.include "../../mk/oss.buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index