pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/xnedit



Module Name:    pkgsrc
Committed By:   micha
Date:           Fri Feb 11 12:45:53 UTC 2022

Modified Files:
        pkgsrc/editors/xnedit: Makefile

Log Message:
editors/xnedit: Build fix for libiconv

On Darwin and SunOS libiconv was still not found.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/editors/xnedit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/xnedit/Makefile
diff -u pkgsrc/editors/xnedit/Makefile:1.4 pkgsrc/editors/xnedit/Makefile:1.5
--- pkgsrc/editors/xnedit/Makefile:1.4  Fri Feb  4 12:33:30 2022
+++ pkgsrc/editors/xnedit/Makefile      Fri Feb 11 12:45:53 2022
@@ -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"



Home | Main Index | Thread Index | Old Index