pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/sc-im



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Thu Aug 10 11:49:55 UTC 2023

Modified Files:
        pkgsrc/math/sc-im: Makefile

Log Message:
math/sc-im: Fix build issue on Illumos


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/math/sc-im/Makefile

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

Modified files:

Index: pkgsrc/math/sc-im/Makefile
diff -u pkgsrc/math/sc-im/Makefile:1.41 pkgsrc/math/sc-im/Makefile:1.42
--- pkgsrc/math/sc-im/Makefile:1.41     Wed Aug  2 16:17:17 2023
+++ pkgsrc/math/sc-im/Makefile  Thu Aug 10 11:49:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2023/08/02 16:17:17 nia Exp $
+# $NetBSD: Makefile,v 1.42 2023/08/10 11:49:55 sjmulder Exp $
 
 DISTNAME=      sc-im-0.8.3
 CATEGORIES=    math
@@ -25,6 +25,8 @@ REPLACE_BASH+=        src/scopen
 
 # gnuplot is invoked through the shell, no need to check at compile time
 CFLAGS+=       -DGNUPLOT
+# needed for PATH_MAX due to std=c99 set above (at least on Illumos)
+CFLAGS+=       -D_XOPEN_SOURCE
 
 MAKE_ENV+=     CFLAGS_CURSES=${BUILDLINK_CFLAGS.ncursesw:Q}
 MAKE_ENV+=     LDLIBS_CURSES=${BUILDLINK_LDADD.ncursesw:Q}



Home | Main Index | Thread Index | Old Index