pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/xnedit editors/xnedit: Build fix for libiconv



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07a8e90b851e
branches:  trunk
changeset: 373421:07a8e90b851e
user:      micha <micha%pkgsrc.org@localhost>
date:      Fri Feb 11 12:45:53 2022 +0000

description:
editors/xnedit: Build fix for libiconv

On Darwin and SunOS libiconv was still not found.

diffstat:

 editors/xnedit/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 179bf14ad221 -r 07a8e90b851e editors/xnedit/Makefile
--- a/editors/xnedit/Makefile   Fri Feb 11 12:20:01 2022 +0000
+++ b/editors/xnedit/Makefile   Fri Feb 11 12:45:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/02/04 12:33:30 micha Exp $
+# $NetBSD: Makefile,v 1.5 2022/02/11 12:45:53 micha Exp $
 
 DISTNAME=      xnedit-1.4.0
 PKGREVISION=   1
@@ -24,6 +24,9 @@
 # Workaround for bugs in Solaris Motif library
 CFLAGS.SunOS+= -DROWCOLPATCH
 
+LDFLAGS.Darwin+=       -liconv
+LDFLAGS.SunOS+=                -liconv
+
 # Honor external CFLAGS
 SUBST_CLASSES+=                        fix-cflags
 SUBST_STAGE.fix-cflags=                pre-configure
@@ -62,7 +65,6 @@
 .endfor
 
 .include "../../converters/libiconv/buildlink3.mk"
-LIBS+= ${BUILDLINK_LDADD.iconv}
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../mk/motif.buildlink3.mk"



Home | Main Index | Thread Index | Old Index