All ports with SBCL fasl files must be rebuilt when the lang/sbcl package
changes. Also, add a note to lang/sbcl/Makefile as a reminder of the
required PORTREVISION bumps to prevent future breakage.
Approved by: krion, olgeni
Differential Revision: https://reviews.freebsd.org/D13087
devel/cl-asdf and loading etc/asdf-init.lisp in sbclrc
Also:
- Download SBCL bootstrap binaries from official upstream source instead of
the FreeBSD cluster
- Use DISTVERION instead of PORTVERSION
- Fix portlint warnings about ordering
- Use variables; e.g., ${PORTVERSION} instead of repeating sbcl
- Bbump PORTREVISION
Approved by: krion (maintainer)
Differential Revision: https://reviews.freebsd.org/D12055
- patch to search for the system-wide startup script under ${PREFIX}/etc/
- patch documentation, so it refers to ${PREFIX}/etc/ instead of /etc
- startup script loads asdf and sets asdf:*central-registry* to the
location where the cl-* ports install asd files
Approved by: krion (maintainer)
Differential Revision: https://reviews.freebsd.org/D12018
There were several issues with the revamp of sbcl.
1) The removal of the lisp contrib modules broke several ports dependent
on them.
2) The removal of a proper SBCL bootstrap (SBCL built by SBCL) broke
DragonFly. Generally it is recommended that compilers build themselves,
although it's unclear if SBCL has such a recommendation.
3) Handling of .core suffix changed by default
This revamp was itself revamped signficantly:
A) Change SBCL option from building from locally installed SBCL to building
from a downloaded bootstrap SBCL compiler (supports FreeBSD i386 & amd64
and DragonFly x86_64)
B) Set this as the default option and move the formerly default CCL to a
non-default option
C) Cosmetic: comment typo fixes, options realigned
D) contributed lisp modules readded to the makefile and pkg-plist
E) PLUS_BOOTSTRAPS switch to regenerate distinfo with all bootstrap files
F) Change "RENAME_DLM" PLIST_SUB to "CORE_SUFFIX" to unbreak makeplist
G) Regenerated pkg-plist (which wasn't previously ordered)
H) Set renaming of .core files to _core by default as it has been
previously done for years.
Approved by: DF Support / just-fix-it [1]
[1] No immediate response from ler@, adamw@, or maintainer after
notification of issues caused by changes of major update. Justified by
need to restore platform builds and dependent port builds.
The module support should not have been removed. It caused ports
dependent on sbcl to break during building. Fix partially taken
from PR below:
PR: 198688
Now that SBCL is current, there was some cleanup needed. This included:
- MASTER_SITES for bootstrap compilers did not resolve
- Replaced with LOCAL/marino
- FreeBSD 7 not supported anymore
- removed references from distinfo and bootstrap list
- contrib modules not supported anymore, removed references
- removed -pthread change
- Added support for x86-64-dragonfly
- simplified docs handling (remove condition DISTFILE for docs)
- unmasked build target commands
- moved cleanup of patching to post-patch target
- general aesthetic cleanup
No revbump needed.
and/or tabs before the =. This made doing regular expressions
on the ports tree really difficult.
Approved by: portmgr (not really, but touches unstaged ports)
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Categories J-L.
CR: D305
Approved by: portmgr (swills)
html documents, to avoid problems with our texinfo tools; pass prefix,
dynamic space size, and lisp bootstrap via make.sh options; update
flags and use them in tests; remove unused patches; simplify and sort
some variables and options-handling; shorten some long lines