pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/libei



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 13 16:52:39 UTC 2026

Modified Files:
        pkgsrc/x11/libei: Makefile

Log Message:
libei: fix build on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/libei/Makefile

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

Modified files:

Index: pkgsrc/x11/libei/Makefile
diff -u pkgsrc/x11/libei/Makefile:1.2 pkgsrc/x11/libei/Makefile:1.3
--- pkgsrc/x11/libei/Makefile:1.2       Mon May  5 09:28:04 2025
+++ pkgsrc/x11/libei/Makefile   Mon Apr 13 16:52:39 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2025/05/05 09:28:04 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2026/04/13 16:52:39 tnn Exp $
 
 DISTNAME=              libei-1.4.1
 CATEGORIES=            x11 devel
@@ -16,6 +16,10 @@ USE_TOOLS+=          pkg-config
 
 NOT_FOR_PLATFORM+=     Darwin-*-*
 
+CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600     # CMSG_SPACE
+CFLAGS.SunOS+=         -D__EXTENSIONS__=1      # strndup
+LDFLAGS.SunOS+=                -lsocket
+
 .include "../../mk/bsd.prefs.mk"
 .include "../../devel/meson/build.mk"
 



Home | Main Index | Thread Index | Old Index