Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2020 19:31:06 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557242 - head/x11-wm/stumpwm
Message-ID:  <202012071931.0B7JV6eZ016854@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012071931.0B7JV6eZ016854>