diff options
Diffstat (limited to 'lang/newlisp/files/patch-modules_gsl.lsp')
-rw-r--r-- | lang/newlisp/files/patch-modules_gsl.lsp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/newlisp/files/patch-modules_gsl.lsp b/lang/newlisp/files/patch-modules_gsl.lsp new file mode 100644 index 000000000000..817cc35f1e16 --- /dev/null +++ b/lang/newlisp/files/patch-modules_gsl.lsp @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- modules/gsl.lsp.orig ++++ modules/gsl.lsp +@@ -169,6 +169,7 @@ + (= ostype "Win32") "libgsl-0.dll" ; 32-bit + (= ostype "OSX") "libgsl.dylib" ; 32-bit + (= ostype "Linux") "/usr/local/lib/libgsl.so" ; 32-bit or 64-bit ++ (= ostype "BSD") "/usr/local/lib/libgsl.so" ; 32-bit or 64-bit + )) + + ; load libgslcblas which contans functions referenced by libgsl +@@ -179,6 +180,7 @@ + (if + (= ostype "OSX") (import "libgslcblas.dylib" "cblas_sdsdot") + (= ostype "Linux") (import "/usr/local/lib/libgslcblas.so" "cblas_sdsdot") ++ (= ostype "BSD") (import "/usr/local/lib/libgslcblas.so" "cblas_sdsdot") + ) + + ; structs are defined but only needed for debugging, instead use "void*" |