svn commit: r557242 - head/x11-wm/stumpwm
Joseph Mingrone
jrm at FreeBSD.org
Mon Dec 7 19:31:06 UTC 2020
Author: jrm
Date: Mon Dec 7 19:31:06 2020
New Revision: 557242
URL: https://svnweb.freebsd.org/changeset/ports/557242
Log:
x11-wm/stumpwm: Fix build when stumpwm is already installed
When the stumpwm package was already installed and loaded, asdf used output
translation to write the generated fasl files directly to
${PREFIX}lib/common-lisp/stumpwm/sbclfasl. Use the solution described and
implemented in ${PREFIX}/etc/asdf-init.lisp (installed by devel/cl-asdf),
which allows the installed lisp packages to be loaded and the fasl files to
be written to ${WRKSRC}.
PR: 251602
Reported by: Aleksandr Konkov <konkovaa at hotmail.com>
Modified:
head/x11-wm/stumpwm/Makefile (contents, props changed)
Modified: head/x11-wm/stumpwm/Makefile
==============================================================================
--- head/x11-wm/stumpwm/Makefile Mon Dec 7 19:20:09 2020 (r557241)
+++ head/x11-wm/stumpwm/Makefile Mon Dec 7 19:31:06 2020 (r557242)
@@ -52,12 +52,15 @@ do-build:
(cd ${WRKSRC} && \
CL_SOURCE_REGISTRY="${WRKSRC}" \
ASDF_OUTPUT_TRANSLATIONS="/:" \
+ FBSD_ASDF_COMPILE_PORT=t PORTNAME=${PORTNAME} WRKSRC=${WRKSRC}/ \
${SBCL} \
- --eval "(asdf:oos 'asdf:compile-op :${PORTNAME})" \
- --eval "(load \"load-stumpwm.lisp\")" \
- --eval "(load \"manual.lisp\")" \
- --eval "(stumpwm::generate-manual)" \
- --eval "(sb-ext:quit)" && \
+ --noinform --no-sysinit --no-userinit \
+ --eval '#.(load "${LOCALBASE}/etc/asdf-init")' \
+ --eval "(asdf:oos 'asdf:compile-op :${PORTNAME} :force t)" \
+ --eval '(load "load-stumpwm.lisp")' \
+ --eval '(load "manual.lisp")' \
+ --eval '(stumpwm::generate-manual)' \
+ --eval '(sb-ext:quit)' && \
makeinfo stumpwm.texi)
do-install:
More information about the svn-ports-all
mailing list