summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2022-02-11 12:45:53 +0000
committermicha <micha@pkgsrc.org>2022-02-11 12:45:53 +0000
commitc794ff1fd8e0a1a00b02ce0cd47ffca1e3b2df05 (patch)
treee1ae272438f01c063e4ccd7d03fc30b5b0522331 /editors
parented41c30c0be0bc542b1c533fa9632d7caaa0a010 (diff)
downloadpkgsrc-c794ff1fd8e0a1a00b02ce0cd47ffca1e3b2df05.tar.gz
editors/xnedit: Build fix for libiconv
On Darwin and SunOS libiconv was still not found.
Diffstat (limited to 'editors')
-rw-r--r--editors/xnedit/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/xnedit/Makefile b/editors/xnedit/Makefile
index ef3ddfe9558..bbd7e3343e7 100644
--- a/editors/xnedit/Makefile
+++ b/editors/xnedit/Makefile
@@ -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 @@ CFLAGS.IRIX+= -DNO_XMIM
# 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 @@ do-install:
.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"