mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
science/gnudatalanguage: fix testsuite
No need to bump PORTREVISION.
This commit is contained in:
@@ -47,7 +47,6 @@ CMAKE_ARGS= -DREADLINEDIR:STRING="/usr" \
|
||||
CPPFLAGS+= ${CFLAGS} -fno-inline -DNPY_NO_DEPRECATED_API -DNPY_1_7_API_VERSION
|
||||
CXXFLAGS+= -std=gnu++11
|
||||
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
||||
# Two tests fail - https://github.com/gnudatalanguage/gdl/issues/2158
|
||||
TEST_TARGET= test
|
||||
|
||||
SLAVEDIRS= science/py-gnudatalanguage
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- testsuite/get_path_to_exe.pro.orig 2025-12-18 17:13:01 UTC
|
||||
+++ testsuite/get_path_to_exe.pro
|
||||
@@ -11,7 +11,7 @@ known_case=0
|
||||
;
|
||||
; On Linux, this is fine with GDL, IDL & FL
|
||||
;
|
||||
-if (STRLOWCASE(!version.os) EQ 'linux') then begin
|
||||
+if (STRLOWCASE(!version.os_family) eq 'unix') then begin
|
||||
get_pid=FILE_READLINK('/proc/self')
|
||||
get_abspath_to_exe=FILE_READLINK('/proc/'+get_pid+'/exe')
|
||||
known_case=1
|
||||
Reference in New Issue
Block a user