pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/fossil Darwin (Mac OS X 10.13 here) needs iconv ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e1fb99b1597
branches:  trunk
changeset: 454699:0e1fb99b1597
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Tue Jun 15 08:38:20 2021 +0000

description:
Darwin (Mac OS X 10.13 here) needs iconv linked in for utf8 support.

diffstat:

 devel/fossil/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 6668ba3009b6 -r 0e1fb99b1597 devel/fossil/Makefile
--- a/devel/fossil/Makefile     Tue Jun 15 08:30:35 2021 +0000
+++ b/devel/fossil/Makefile     Tue Jun 15 08:38:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2021/04/21 11:41:24 adam Exp $
+# $NetBSD: Makefile,v 1.67 2021/06/15 08:38:20 hauke Exp $
 
 DISTNAME=      fossil-src-2.15.1
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -18,6 +18,8 @@
 
 INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
 
+LDFLAGS.Darwin+=       -liconv
+
 .include "options.mk"
 
 pre-configure:
@@ -32,5 +34,8 @@
                ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
 .include "../../security/openssl/buildlink3.mk"
+.if ${OPSYS} == "Darwin"
+.include "../../converters/libiconv/buildlink3.mk"
+.endif
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index