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:           Wed Apr 30 11:43:47 UTC 2025

Modified Files:
        pkgsrc/editors/xnedit: Makefile

Log Message:
editors/xnedit: Build fix for Darwin

Undefined symbols for architecture arm64:
  "_CFRelease", referenced from:
  ...

- Link against CoreFoundation framework on Darwin
- Add missing phtread dependency (for all OS)
- Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 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.17 pkgsrc/editors/xnedit/Makefile:1.18
--- pkgsrc/editors/xnedit/Makefile:1.17 Mon Mar 31 08:42:29 2025
+++ pkgsrc/editors/xnedit/Makefile      Wed Apr 30 11:43:47 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2025/03/31 08:42:29 micha Exp $
+# $NetBSD: Makefile,v 1.18 2025/04/30 11:43:47 micha Exp $
 
 DISTNAME=      xnedit-1.6.3
+PKGREVISION=   1
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xnedit/}
 
@@ -23,7 +24,7 @@ CFLAGS.IRIX+=         -DNO_XMIM
 # Workaround for bugs in Solaris Motif library
 CFLAGS.SunOS+=         -DROWCOLPATCH
 
-LDFLAGS.Darwin+=       -liconv
+LDFLAGS.Darwin+=       -liconv -framework CoreFoundation
 
 # Honor external CFLAGS
 SUBST_CLASSES+=                        fix-cflags
@@ -54,10 +55,12 @@ do-install:
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../mk/motif.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../x11/libICE/buildlink3.mk"
 .include "../../x11/libSM/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"
 .include "../../x11/libXrender/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index