aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ccl/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2011-10-10 18:35:03 +0800
committerolgeni <olgeni@FreeBSD.org>2011-10-10 18:35:03 +0800
commiteebed8a43e3f9b15fa9f3fb8a5b25cd76be955dd (patch)
tree6c4da71a039b5cb1150609c325bbdea5fd352a5f /lang/ccl/Makefile
parentb5c79d163158a50cd48d5bdb9d900882aac69839 (diff)
downloadfreebsd-ports-gnome-eebed8a43e3f9b15fa9f3fb8a5b25cd76be955dd.tar.gz
freebsd-ports-gnome-eebed8a43e3f9b15fa9f3fb8a5b25cd76be955dd.tar.zst
freebsd-ports-gnome-eebed8a43e3f9b15fa9f3fb8a5b25cd76be955dd.zip
Unset CCL_DEFAULT_DIRECTORY before running the CCL compiler, else
the build would fail. PR: ports/161416 Submitted by: Nali Toja <nalitoja gmail com>
Diffstat (limited to 'lang/ccl/Makefile')
-rw-r--r--lang/ccl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/ccl/Makefile b/lang/ccl/Makefile
index 2af55c95e44c..914c93992d21 100644
--- a/lang/ccl/Makefile
+++ b/lang/ccl/Makefile
@@ -54,11 +54,11 @@ post-patch:
do-build:
@${RM} -f ${WRKSRC}/fx86cl ${WRKSRC}/fx86cl64
@cd ${WRKSRC}/lisp-kernel/freebsd${LISP_ARCH} && ${MAKE} && ${RM} -f *.o
- @cd ${WRKSRC} && if ! ${ECHO_CMD} | ./${FX86CL} --batch --quiet >/dev/null 2>&1; then \
+ @cd ${WRKSRC} && if ! ${ECHO_CMD} | ${SETENV} -u CCL_DEFAULT_DIRECTORY ./${FX86CL} --batch --quiet >/dev/null 2>&1; then \
${ECHO_MSG} "===> This CPU doesn't support the SSE2 instruction set: cannot build port."; \
exit 1; \
fi
- @cd ${WRKSRC} && ${ECHO_CMD} | ./${FX86CL} --no-init --batch --quiet \
+ @cd ${WRKSRC} && ${ECHO_CMD} | ${SETENV} -u CCL_DEFAULT_DIRECTORY ./${FX86CL} --no-init --batch --quiet \
--eval "(ccl:rebuild-ccl :full t)" \
--eval "(quit)"
@@ -71,7 +71,7 @@ do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/ccl.sh ${PREFIX}/bin/ccl
post-install:
- @cd ${WRKSRC} && ${ECHO_CMD} | ./${FX86CL} --no-init --batch --quiet \
+ @cd ${WRKSRC} && ${ECHO_CMD} | ${SETENV} -u CCL_DEFAULT_DIRECTORY ./${FX86CL} --no-init --batch --quiet \
--eval "(require 'asdf)" \
--eval '(load "/usr/local/etc/asdf-init.lisp")' \
--eval "(quit)"