nongnu: mosml: Fix build.

* nongnu/packages/sml.scm (mosml) [arguments] <#:make-flags>: Set "--std=gnu89".
[license]: Correct licenses.
This commit is contained in:
Hilton Chain 2025-08-24 10:07:15 +08:00
parent 9bf3d1394f
commit 099ab02079
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -30,7 +30,7 @@
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:make-flags (list #:make-flags
#~(list (string-append "CC=" #$(cc-for-target)) #~(list (string-append "CC=" #$(cc-for-target) " --std=gnu89")
(string-append "PREFIX=" #$output) (string-append "PREFIX=" #$output)
"-C" "src") "-C" "src")
#:phases #:phases
@ -57,9 +57,12 @@
"Moscow ML is a light-weight implementation of Standard ML (SML), a "Moscow ML is a light-weight implementation of Standard ML (SML), a
strict functional language used in teaching and research") strict functional language used in teaching and research")
(license (license
;; XXX: This package is redistributable but has licensing issue, its own (list (license-gnu:fsf-free
;; code is GPL but contain non-free bundled sources. GPL is commented "file://copyright/copyrght.att"
;; here because showing it along with nonfree ones is confusing. "Standard ML of New Jersey License")
(list ;; license-gnu:gpl2 ;; XXX: License issue: the two licenses below are conflict.
(license:nonfree "file://copyright/copyrght.att") (license:nonfree
(license:nonfree "file://copyright/copyrght.cl")))))) "file://copyright/copyrght.cl"
"Copyright notice from INRIA, no commercial distribution, apply
same conditions to derivative works")
license-gnu:gpl2)))))