head 1.23; access; symbols pkgsrc-2026Q1:1.23.0.24 pkgsrc-2026Q1-base:1.23 pkgsrc-2025Q4:1.23.0.22 pkgsrc-2025Q4-base:1.23 pkgsrc-2025Q3:1.23.0.20 pkgsrc-2025Q3-base:1.23 pkgsrc-2025Q2:1.23.0.18 pkgsrc-2025Q2-base:1.23 pkgsrc-2025Q1:1.23.0.16 pkgsrc-2025Q1-base:1.23 pkgsrc-2024Q4:1.23.0.14 pkgsrc-2024Q4-base:1.23 pkgsrc-2024Q3:1.23.0.12 pkgsrc-2024Q3-base:1.23 pkgsrc-2024Q2:1.23.0.10 pkgsrc-2024Q2-base:1.23 pkgsrc-2024Q1:1.23.0.8 pkgsrc-2024Q1-base:1.23 pkgsrc-2023Q4:1.23.0.6 pkgsrc-2023Q4-base:1.23 pkgsrc-2023Q3:1.23.0.4 pkgsrc-2023Q3-base:1.23 pkgsrc-2023Q2:1.23.0.2 pkgsrc-2023Q2-base:1.23 pkgsrc-2023Q1:1.21.0.4 pkgsrc-2023Q1-base:1.21 pkgsrc-2022Q4:1.21.0.2 pkgsrc-2022Q4-base:1.21 pkgsrc-2022Q3:1.20.0.24 pkgsrc-2022Q3-base:1.20 pkgsrc-2022Q2:1.20.0.22 pkgsrc-2022Q2-base:1.20 pkgsrc-2022Q1:1.20.0.20 pkgsrc-2022Q1-base:1.20 pkgsrc-2021Q4:1.20.0.18 pkgsrc-2021Q4-base:1.20 pkgsrc-2021Q3:1.20.0.16 pkgsrc-2021Q3-base:1.20 pkgsrc-2021Q2:1.20.0.14 pkgsrc-2021Q2-base:1.20 pkgsrc-2021Q1:1.20.0.12 pkgsrc-2021Q1-base:1.20 pkgsrc-2020Q4:1.20.0.10 pkgsrc-2020Q4-base:1.20 pkgsrc-2020Q3:1.20.0.8 pkgsrc-2020Q3-base:1.20 pkgsrc-2020Q2:1.20.0.6 pkgsrc-2020Q2-base:1.20 pkgsrc-2020Q1:1.20.0.2 pkgsrc-2020Q1-base:1.20 pkgsrc-2019Q4:1.20.0.4 pkgsrc-2019Q4-base:1.20 pkgsrc-2019Q3:1.19.0.46 pkgsrc-2019Q3-base:1.19 pkgsrc-2019Q2:1.19.0.44 pkgsrc-2019Q2-base:1.19 pkgsrc-2019Q1:1.19.0.42 pkgsrc-2019Q1-base:1.19 pkgsrc-2018Q4:1.19.0.40 pkgsrc-2018Q4-base:1.19 pkgsrc-2018Q3:1.19.0.38 pkgsrc-2018Q3-base:1.19 pkgsrc-2018Q2:1.19.0.36 pkgsrc-2018Q2-base:1.19 pkgsrc-2018Q1:1.19.0.34 pkgsrc-2018Q1-base:1.19 pkgsrc-2017Q4:1.19.0.32 pkgsrc-2017Q4-base:1.19 pkgsrc-2017Q3:1.19.0.30 pkgsrc-2017Q3-base:1.19 pkgsrc-2017Q2:1.19.0.26 pkgsrc-2017Q2-base:1.19 pkgsrc-2017Q1:1.19.0.24 pkgsrc-2017Q1-base:1.19 pkgsrc-2016Q4:1.19.0.22 pkgsrc-2016Q4-base:1.19 pkgsrc-2016Q3:1.19.0.20 pkgsrc-2016Q3-base:1.19 pkgsrc-2016Q2:1.19.0.18 pkgsrc-2016Q2-base:1.19 pkgsrc-2016Q1:1.19.0.16 pkgsrc-2016Q1-base:1.19 pkgsrc-2015Q4:1.19.0.14 pkgsrc-2015Q4-base:1.19 pkgsrc-2015Q3:1.19.0.12 pkgsrc-2015Q3-base:1.19 pkgsrc-2015Q2:1.19.0.10 pkgsrc-2015Q2-base:1.19 pkgsrc-2015Q1:1.19.0.8 pkgsrc-2015Q1-base:1.19 pkgsrc-2014Q4:1.19.0.6 pkgsrc-2014Q4-base:1.19 pkgsrc-2014Q3:1.19.0.4 pkgsrc-2014Q3-base:1.19 pkgsrc-2014Q2:1.19.0.2 pkgsrc-2014Q2-base:1.19 pkgsrc-2014Q1:1.18.0.30 pkgsrc-2014Q1-base:1.18 pkgsrc-2013Q4:1.18.0.28 pkgsrc-2013Q4-base:1.18 pkgsrc-2013Q3:1.18.0.26 pkgsrc-2013Q3-base:1.18 pkgsrc-2013Q2:1.18.0.24 pkgsrc-2013Q2-base:1.18 pkgsrc-2013Q1:1.18.0.22 pkgsrc-2013Q1-base:1.18 pkgsrc-2012Q4:1.18.0.20 pkgsrc-2012Q4-base:1.18 pkgsrc-2012Q3:1.18.0.18 pkgsrc-2012Q3-base:1.18 pkgsrc-2012Q2:1.18.0.16 pkgsrc-2012Q2-base:1.18 pkgsrc-2012Q1:1.18.0.14 pkgsrc-2012Q1-base:1.18 pkgsrc-2011Q4:1.18.0.12 pkgsrc-2011Q4-base:1.18 pkgsrc-2011Q3:1.18.0.10 pkgsrc-2011Q3-base:1.18 pkgsrc-2011Q2:1.18.0.8 pkgsrc-2011Q2-base:1.18 pkgsrc-2011Q1:1.18.0.6 pkgsrc-2011Q1-base:1.18 pkgsrc-2010Q4:1.18.0.4 pkgsrc-2010Q4-base:1.18 pkgsrc-2010Q3:1.18.0.2 pkgsrc-2010Q3-base:1.18 pkgsrc-2010Q2:1.17.0.6 pkgsrc-2010Q2-base:1.17 pkgsrc-2010Q1:1.17.0.4 pkgsrc-2010Q1-base:1.17 pkgsrc-2009Q4:1.17.0.2 pkgsrc-2009Q4-base:1.17 pkgsrc-2009Q3:1.16.0.18 pkgsrc-2009Q3-base:1.16 pkgsrc-2009Q2:1.16.0.16 pkgsrc-2009Q2-base:1.16 pkgsrc-2009Q1:1.16.0.14 pkgsrc-2009Q1-base:1.16 pkgsrc-2008Q4:1.16.0.12 pkgsrc-2008Q4-base:1.16 pkgsrc-2008Q3:1.16.0.10 pkgsrc-2008Q3-base:1.16 cube-native-xorg:1.16.0.8 cube-native-xorg-base:1.16 pkgsrc-2008Q2:1.16.0.6 pkgsrc-2008Q2-base:1.16 cwrapper:1.16.0.4 pkgsrc-2008Q1:1.16.0.2 pkgsrc-2008Q1-base:1.16 pkgsrc-2007Q4:1.15.0.6 pkgsrc-2007Q4-base:1.15 pkgsrc-2007Q3:1.15.0.4 pkgsrc-2007Q3-base:1.15 pkgsrc-2007Q2:1.15.0.2 pkgsrc-2007Q2-base:1.15 pkgsrc-2007Q1:1.14.0.6 pkgsrc-2007Q1-base:1.14 pkgsrc-2006Q4:1.14.0.4 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.2 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.13.0.2 pkgsrc-2006Q2-base:1.13 pkgsrc-2006Q1:1.12.0.2 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.11.0.14 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.12 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.11.0.10 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.11.0.8 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.11.0.6 pkgsrc-2004Q4-base:1.11 pkgsrc-2004Q3:1.11.0.4 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.2 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.10.0.4 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.10.0.2 pkgsrc-2003Q4-base:1.10 netbsd-1-6-1:1.9.0.6 netbsd-1-6-1-base:1.9 netbsd-1-6:1.9.0.8 netbsd-1-6-RELEASE-base:1.9 pkgviews:1.9.0.4 pkgviews-base:1.9 buildlink2:1.9.0.2 buildlink2-base:1.9 netbsd-1-5-PATCH003:1.9 netbsd-1-5-PATCH001:1.8 netbsd-1-5-RELEASE:1.8 netbsd-1-4-PATCH003:1.8 netbsd-1-4-PATCH002:1.6 comdex-fall-1999:1.5 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.4 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.23 date 2023.05.17.10.33.24; author jperkin; state Exp; branches; next 1.22; commitid 9VWhM69VVVkGTipE; 1.22 date 2023.05.13.00.44.31; author dholland; state Exp; branches; next 1.21; commitid ae4R7GXkNbfwLJoE; 1.21 date 2022.11.08.12.47.01; author nros; state Exp; branches; next 1.20; commitid gDXKsNiaztZbKT0E; 1.20 date 2019.11.02.17.02.56; author rillig; state Exp; branches; next 1.19; commitid Csi9jlMHney5AiJB; 1.19 date 2014.05.14.11.24.25; author jperkin; state Exp; branches; next 1.18; commitid fxRhUOP4uVKBVuAx; 1.18 date 2010.07.09.18.08.05; author asau; state Exp; branches; next 1.17; 1.17 date 2009.12.15.23.22.06; author asau; state Exp; branches; next 1.16; 1.16 date 2008.02.29.19.34.44; author tnn; state Exp; branches; next 1.15; 1.15 date 2007.06.09.06.10.31; author obache; state Exp; branches; next 1.14; 1.14 date 2006.07.20.23.05.43; author perry; state Exp; branches; next 1.13; 1.13 date 2006.05.10.18.26.34; author joerg; state Exp; branches; next 1.12; 1.12 date 2006.03.11.23.32.44; author wiz; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 2004.03.29.02.46.18; author perry; state Exp; branches; next 1.10; 1.10 date 2003.07.13.14.34.49; author dillo; state Exp; branches; next 1.9; 1.9 date 2002.02.21.04.13.21; author dillo; state Exp; branches; next 1.8; 1.8 date 2000.06.16.23.53.43; author wiz; state Exp; branches; next 1.7; 1.7 date 2000.05.27.02.47.14; author wiz; state Exp; branches; next 1.6; 1.6 date 99.12.18.04.53.18; author mjl; state Exp; branches; next 1.5; 1.5 date 99.07.21.23.25.08; author mjl; state Exp; branches; next 1.4; 1.4 date 99.04.17.01.55.55; author mjl; state Exp; branches; next 1.3; 1.3 date 98.11.22.19.39.48; author tron; state Exp; branches; next 1.2; 1.2 date 98.09.06.21.21.54; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.09.06.20.45.35; author tron; state Exp; branches; next ; 1.12.2.1 date 2006.05.24.16.55.00; author ghen; state Exp; branches; next ; desc @@ 1.23 log @clisp: Unbreak shell syntax. @ text @$NetBSD: patch-aa,v 1.22 2023/05/13 00:44:31 dholland Exp $ Override library subdirectory name for consistency. Don't use cache file to avoid trailing space problem. Support staged installation of modules. Fix SunOS linking. Fix NetBSD module linking. Don't use -nt on nonexistent files because the behavior isn't portable. https://mail-index.netbsd.org/pkgsrc-users/2019/11/02/msg029846.html https://sourceforge.net/p/clisp/bugs/740/ (macOS build failure) --- src/makemake.in.orig 2010-07-07 15:15:35.000000000 +0000 +++ src/makemake.in @@@@ -577,8 +577,8 @@@@ case $# in CROSS=false if [ -z "$HSYS" ]; then # not win32gcc # some shells (A/UX and OSF/1) need the parentheses around "arch" below. - HSYS=`((arch) 2>/dev/null || uname -m 2>/dev/null) | $tolower` # system name in lowercase - HSYSOS=`((uname) 2>/dev/null || arch 2>/dev/null) | $tolower` # OS name in lowercase + HSYS=`( (arch) 2>/dev/null || uname -m 2>/dev/null) | $tolower` # system name in lowercase + HSYSOS=`( (uname) 2>/dev/null || arch 2>/dev/null) | $tolower` # OS name in lowercase if [ "$HSYS" = 386bsd -o "$HSYS" = sun386 -o "$HSYS" = "386/at" -o "$HSYS" = i86pc ] ; then HSYS='i386' fi @@@@ -1416,42 +1416,42 @@@@ if [ "${with_dynamic_modules}" != no ]; XCC_PICFLAG='' ;; esac - XCC_CREATESHARED='create-shared-lib -o $lib $libs' # dummy command + XCC_CREATESHARED='create-shared-lib -o "${DESTDIR}$lib" $libs' # dummy command case "$host_os" in freebsd2.2*) - XCC_CREATESHARED='ld -Bshareable -o $lib $libs /usr/lib/c++rt0.o' + XCC_CREATESHARED='ld -Bshareable -o "${DESTDIR}$lib" $libs /usr/lib/c++rt0.o' ;; - freebsd2* | netbsd* | openbsd*) - XCC_CREATESHARED='ld -Bshareable -o $lib $libs' + freebsd2* | openbsd*) + XCC_CREATESHARED='ld -Bshareable -o "${DESTDIR}$lib" $libs' ;; - freebsd3* | gnu* | linux* | cygwin* | mingw* | k*bsd* | dragonfly*) - XCC_CREATESHARED='${CC} ${CFLAGS} ${CLFLAGS} -shared -o $lib $libs' + freebsd3* | gnu* | linux* | cygwin* | mingw* | k*bsd* | dragonfly* | netbsd*) + XCC_CREATESHARED='${CC} ${CFLAGS} ${CLFLAGS} -shared -o "${DESTDIR}$lib" $libs' ;; hpux9* | hpux10*) - XCC_CREATESHARED='ld -b +s -o $lib $libs' + XCC_CREATESHARED='ld -b +s -o "${DESTDIR}$lib" $libs' ;; irix5* | irix6*) case " $CC $CFLAGS " in - *" -32 "*) XCC_CREATESHARED='ld -32 -shared -o $lib $libs' ;; - *" -n32 "*) XCC_CREATESHARED='ld -n32 -shared -o $lib $libs' ;; - *" -64 "*) XCC_CREATESHARED='ld -64 -shared -o $lib $libs' ;; - *) XCC_CREATESHARED='ld -shared -o $lib $libs' ;; + *" -32 "*) XCC_CREATESHARED='ld -32 -shared -o "${DESTDIR}$lib" $libs' ;; + *" -n32 "*) XCC_CREATESHARED='ld -n32 -shared -o "${DESTDIR}$lib" $libs' ;; + *" -64 "*) XCC_CREATESHARED='ld -64 -shared -o "${DESTDIR}$lib" $libs' ;; + *) XCC_CREATESHARED='ld -shared -o "${DESTDIR}$lib" $libs' ;; esac ;; osf3* | osf4*) - XCC_CREATESHARED='ld -shared -expect_unresolved -o $lib $libs -lc' + XCC_CREATESHARED='ld -shared -expect_unresolved -o "${DESTDIR}$lib" $libs -lc' ;; sco3.2v5*) - XCC_CREATESHARED='ld -G -o $lib $libs' + XCC_CREATESHARED='ld -G -o "${DESTDIR}$lib" $libs' ;; solaris2*) - XCC_CREATESHARED='ld -G -z text -o $lib $libs' + XCC_CREATESHARED='ld -G -z text -o "${DESTDIR}$lib" $libs' ;; sunos4*) - XCC_CREATESHARED='ld -assert pure-text -Bstatic -o $lib $libs' + XCC_CREATESHARED='ld -assert pure-text -Bstatic -o "${DESTDIR}$lib" $libs' ;; darwin*) - XCC_CREATESHARED='${CC} -bundle -flat_namespace -undefined suppress -o $lib $libs' + XCC_CREATESHARED='${CC} -bundle -flat_namespace -undefined suppress -o "${DESTDIR}$lib" $libs' ;; *) echo "$0: how do you create a shared library on ${host_os}?" >&2; ;; @@@@ -1542,7 +1542,7 @@@@ if [ $CROSS = false ] ; then # Newer versions of Solaris (Solaris 2.2 and newer) don't have # libdl_stubs.a any more. This means that you cannot link -static ! XCLFLAGS=`echol "$XCLFLAGS" | sed -e 's/-B*static//g'` - SOLARIS_LINKING=1 # Even more hacks needed?? + SOLARIS_LINKING= # Even more hacks needed?? BINARY_DISTRIB=1 ;; hpux*) @@@@ -1917,7 +1917,7 @@@@ echol "htmldir = ${HTMLDIR}" echol "psdir = ${PSDIR}" echol "pdfdir = ${PDFDIR}" echol "libdir = ${LIBDIR}" -echol "lisplibdir = \$(libdir)${NEXT_}\$(TOPDIR)" +echol "lisplibdir = \$(libdir)${NEXT_}clisp" test -n "$USE_GETTEXT" && echol "localedir = ${LOCALEDIR}" echol "elispdir = ${ELISPDIR}" echol "vimdir = ${VIMDIR}" @@@@ -3301,7 +3301,7 @@@@ echotab "m=\`cd ${MODULESDIR_}\$@@; pwd\` if [ "@@TEST_NT@@" = no ]; then # re-making a module requires rm -rf module newer(){ echo 'test -f $$m/'$1' -a '"'!'"' -f $@@/'$2; } else # re-making a module just works - newer(){ echo 'test -f $$m/'$1' -a $$m/'$1' -nt $@@/'$2; } + newer(){ echo 'test -f $$m/'$1' -a \( ! -f $@@/'$2' -o $$m/'$1' -nt $@@/'$2' \)'; } fi # srcdir has to be passed to ./configure because it must be able to find # src/build-aux/install-sh _AND_ also its own sources, thus we must @@@@ -3315,7 +3315,7 @@@@ for var in ${PRECIOUS_VARS}; do done # we must use $(SHELL) for sub-configures because when the top CONFIG_SHELL # is bash, config.cache may be unparsable with sh on Solaris -echotab " \$(SHELL) \$\$m/configure --with-clisp=\"${HEREP}/clisp -K boot ${someflags}\" --cache-file=\$\${cache} --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS);\\" +echotab " \$(SHELL) \$\$m/configure --with-clisp=\"${HEREP}/clisp -K boot ${someflags}\" --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS);\\" echotab " else \\" echotab " \$(SHELL) \$\$m/configure --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS); \\" echotab " fi ) ;\\" @ 1.22 log @PR 45012 Michael Wildpaner: clisp build fix for ubuntu with dash @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.21 2022/11/08 12:47:01 nros Exp $ d108 1 a108 1 + newer(){ echo 'test -f $$m/'$1' -a \( ! -f $@@/'$2' -o $$m/'$1' -nt $@@/'$2' )'; } @ 1.21 log @clisp: fix module linking with X11_TYPE = native on NetBSD X11 pkg-config files on NetBSD includes -Wl,-rpath,/usr/X11R7/lib that can't be understood by the ld command, so use the compiler that can understand this for linking instead. Fixes build of x11/clisp-gtk2 with X11_TYPE = native and cwrappers. Concerns PR pkg/57077 . @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.20 2019/11/02 17:02:56 rillig Exp $ d8 1 d103 9 @ 1.20 log @lang/clisp: fix build failure on macOS @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.19 2014/05/14 11:24:25 jperkin Exp $ d7 1 d14 1 a14 1 @@@@ -577,8 +577,8 @@@@ d25 1 a25 1 @@@@ -1416,42 +1416,42 @@@@ if [ "${with_dynamic_modules}" != no ]; d36 1 a36 1 freebsd2* | netbsd* | openbsd*) d38 1 d41 1 a41 1 freebsd3* | gnu* | linux* | cygwin* | mingw* | k*bsd* | dragonfly*) d43 1 @ 1.19 log @Disable custom (and broken) Solaris linking, fixes 64-bit build. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.18 2010/07/09 18:08:05 asau Exp $ d8 3 d13 11 @ 1.18 log @Update to CLISP 2.49. pkgsrc changes: desupport build options that are turned into module packages. 2.49 (2010-07-07) ================= User visible changes -------------------- * New command line option -disable-readline lets working around bugs and incompatibilities between readline CLISP was built against and the library actually installed. See for details. * FFI:OPEN-FOREIGN-LIBRARY now accepts the :REQUIRE argument. See for details. * New user variable CUSTOM:*USER-LIB-DIRECTORY* is respected by REQUIRE and used by "clisp-link install". Dynamic modules are now the default build option. See and for details. * Function RENAME-FILE now accepts :IF-EXISTS argument which determines the action when the destination exists, unless, of course, *ANSI* is T. See for details. * The replacement value entered by the user in STORE-VALUE and USE-VALUE restarts is now EVALuated. * The old user variable CUSTOM:*PRINT-CLOSURE* now controls interpreted closure output too (RFE#3001956). This is a tricky feature, read up! See . * Module readline now supports readline 6.1. (Older versions are, of course, still supported). See for details. * Module pcre now supports pcre 8.01. (Older versions are, of course, still supported). See for details. * Module libsvm does not come with the upstream sources anymore, install locally and pass --with-libsvm-prefix to the top-level configure instead. All upstream versions up to 2.91 are supported. See for details. * Module berkeley-db now supports Berkeley-DB 4.8. (Older versions are, of course, still supported). See for details. * Module postgresql now supports PostgreSQL 8.4. (Older versions are, of course, still supported). See for details. * Module pari has been updated to support both 64 & 32 bit platforms with and without GMP. See for details. * New functions OS:VERSION-COMPARE et al call strverscmp. See for details. * Bug fixes: + Do not eliminate function calls which are advertised to have exceptional situation in unsafe code (bug#2868166). + Fix an internal error in DECLAIM on bad OPTIMIZE quality (bug#2868147). + CLEAR-INPUT now clears the EOF condition on file streams (bug#2902716). + When quitting on a signal, never enter the debugger (bug#2795278). + Respect :FULL T in DIRECTORY :WILD-INFERIORS (bug#3009966). + Handle TWO-WAY-STREAM and ECHO-STREAM correctly by (SETF STREAM-EXTERNAL-FORMAT) (bug#3020933). + Fix unbuffered output pipe stream initialization (bug#3024887). * ANSI compliance: + Implement the ANSI issue COMPILER-DIAGNOSTICS:USE-HANDLER: use the CL Condition System for compiler diagnostics. + STREAM-ELEMENT-TYPE on empty CONCATENATED-STREAMs now returns NIL because nothing can be read from such streams (bug#3014921). @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.17 2009/12/15 23:22:06 asau Exp $ d6 1 d8 3 a10 3 --- src/makemake.in.orig 2010-07-07 19:15:35.000000000 +0400 +++ src/makemake.in 2010-07-08 01:39:27.000000000 +0400 @@@@ -1416,42 +1416,42 @@@@ d67 10 a76 1 @@@@ -1917,7 +1917,7 @@@@ d85 1 a85 1 @@@@ -3315,7 +3315,7 @@@@ @ 1.17 log @Update to CLISP 2.48: Important notes --------------- * Multiple threads of execution are now experimentally supported (not ready for prime time yet). Thanks to Vladimir Tzankov . See for details. * Module libsvm has been upgraded to the upstream version 2.89. See for details. * Module Berkeley-DB now supports Berkeley DB 4.7. (older versions 4.* are, of course, still supported). See for details. * Module readline now supports readline 6.0. (older versions 5.* are, of course, still supported). See for details. * Passing :EXECUTABLE 0 to EXT:SAVEINITMEM results in an executable image which delegates processing of all the usual CLISP command line options to the :INIT-FUNCTION. See for details. * Driver clisp accepts "-b" to print the installation directory. See for details. * Add file clisp.m4 so that the packages which use CLISP can check whether it is properly installed and has the required version. * POSIX:COPY-FILE now accepts :METHOD :HARDLINK-OR-COPY. See for details. * New function POSIX:WAIT calls waitpid or wait4. See for details. * New function EXT:TRIM-IF removes leading and trailing matches. See for details. * New user command "LocalSymbols" (abbreviated ":ls"). See for details. * Commands "add" and "create" replace "add-module-set", "add-module-sets" and "create-module-set" in clisp-link. See for details. * Bug fixes: + Better support of :START and :END arguments in NEW-CLX. [ 2159172 ] + Fix LOAD-LOGICAL-PATHNAME-TRANSLATIONS when *LOAD-PATHS* contains wild pathnames (introduced in 2.47). [ 2198109 ] + Module NEW-CLX now has the XLIB:QUEUE-EVENT function, implemented by Philippe Brochard . + Extend the domain of LOG to larger BIGNUMs and RATIOs. [ 1007358 ] + Avoid a segfault on (EXPT ). [ 2807311 ] + Fix interaction of finalizers and weak objects. [ 1472478 ] * ANSI compliance: + Implement the ANSI (IGNORE #'FUNCTION) declaration. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.16 2008/02/29 19:34:44 tnn Exp $ d5 1 a5 1 Fix scripts installation. d7 60 a66 19 --- src/makemake.in.orig 2009-07-28 17:58:03.000000000 +0400 +++ src/makemake.in 2009-12-15 22:06:10.000000000 +0300 @@@@ -538,6 +538,7 @@@@ RANLIB='@@RANLIB@@' # either 'ranlib' or ':' INSTALL='@@INSTALL@@' # either 'install -c' or 'cp' INSTALL_PROGRAM='@@INSTALL_PROGRAM@@' # either 'install -c' or 'cp' +INSTALL_SCRIPT='@@INSTALL_SCRIPT@@' # as above only never strip INSTALL_DATA='@@INSTALL_DATA@@' # either 'install -c -m 644' or 'cp' GROFF='@@GROFF@@' # either 'groff' or '' DVIPDF='@@DVIPDF@@' # either 'dvipdf' or '' @@@@ -995,6 +996,7 @@@@ if [ -z "$INSTALL" ] ; then INSTALL=$CP INSTALL_PROGRAM='$(INSTALL)' + INSTALL_SCRIPT='$(INSTALL)' INSTALL_DATA='$(INSTALL)' fi @@@@ -1930,7 +1932,7 @@@@ d72 4 a75 12 if [ -n "$USE_GETTEXT" ] ; then echol "localedir = ${LOCALEDIR}" fi @@@@ -2082,6 +2084,7 @@@@ echol '# Programs used by "make install":' echol "INSTALL = ${INSTALL}" echol "INSTALL_PROGRAM = ${INSTALL_PROGRAM}" +echol "INSTALL_SCRIPT = ${INSTALL_SCRIPT}" echol "INSTALL_DATA = ${INSTALL_DATA}" echol echol '# Programs used by "make distrib":' @@@@ -3348,7 +3351,7 @@@@ d79 4 a82 3 -echotab " \$(SHELL) ./configure --cache-file=\$\${cache} --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS);\\" +echotab " \$(SHELL) ./configure --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS);\\" echotab " else \$(SHELL) ./configure --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS); \\" a83 11 echotab "fi" @@@@ -3608,7 +3611,8 @@@@ echotab "(cd \$(DESTDIR)\$(lisplibdir) && \$(RMRF) base full)" echotab "mkdir \$(DESTDIR)\$(lisplibdir)/base" echotab "mkdir \$(DESTDIR)\$(lisplibdir)/full" - echotab "for f in clisp-link linkkit/* base/* full/*; do \\" + echotab "\$(INSTALL_SCRIPT) clisp-link \$(DESTDIR)\$(lisplibdir)/clisp-link" + echotab "for f in linkkit/* base/* full/*; do \\" echotab " case \$\$f in \\" echotab " */lisp${LEXE}|clisp-link) \$(INSTALL_PROGRAM) \$\$f \$(DESTDIR)\$(lisplibdir)/\$\$f;; \\" echotab " *) \$(INSTALL_DATA) \$\$f \$(DESTDIR)\$(lisplibdir)/\$\$f;; \\" @ 1.16 log @Update to 2.44.1, packaged by Aleksej Saushev. Major changes from 2.41: - Use pkgsrc-supplied libffcall - Use libtool - New PKG_OPTIONS to enable support for db4, gdbm, gtk2, fastcgi, pcre. - lots of bugfixes @ text @d1 1 a1 1 $NetBSD$ d3 1 d5 1 d7 20 a26 3 --- src/makemake.in.orig 2008-01-03 20:28:49.000000000 +0100 +++ src/makemake.in @@@@ -1881,6 +1881,7 @@@@ echol "psdir = ${PSDIR}" d29 1 a29 1 echol "lisplibdir = \$(libdir)${NEXT_}\$(TOPDIR)" d34 10 a43 2 @@@@ -3342,7 +3343,7 @@@@ echotab " if test \"\$\${ac_cv_env_ echotab " if test \"\$\${ac_cv_env_CFLAGS_set}\" = set; then CFLAGS=\"\$\${ac_cv_env_CFLAGS_value}\"; export CFLAGS; fi; \\" d51 10 @ 1.15 log @Update clisp to 2.41. Based on patch provided by Yorick Hardy in PR 36334, I ajust patch files. 2.41 (2006-10-13) ================= User visible changes -------------------- * New module libsvm interfaces to and makes Support Vector Machines available in CLISP. See for details. * The same internal interface now handles FFI forms DEF-CALL-OUT and DEF-C-VAR regardless of the presence of the :LIBRARY argument. (:LIBRARY NIL) is now identical to omitting the :LIBRARY argument. The default for the :LIBRARY argument is provided by FFI:*DEFAULT-FOREIGN-LIBRARY* (bound in a compilation unit). See for details. * Bug fixes: + DOCUMENTATION on built-in functions was broken on some platforms. [ 1569234 ] + Fixed FFI callbacks, broken since the 2.36 release. + Fixed the way the top-level driver handles the "--" option terminator. + Fixed COMPILE of APPLY in LABELS for local function. [ 1575946 ] 2.40 (2006-09-23) ================= Important notes --------------- * All .fas files generated by previous CLISP versions are invalid and must be recompiled. This is because DOCUMENTATION and LAMBDA-LIST are now kept with the closures. Set CUSTOM:*LOAD-OBSOLETE-ACTION* to :COMPILE to automate this. See for details. User visible changes -------------------- * Infrastructure + Top-level configure now accepts a new option --elispdir which specifies the installation directory for the Emacs Lisp files (clhs.el et al). The default value is ${datadir}/emacs/site-lisp/. Thus, clhs.el at al are now installed by "make install", and should be included in the 3rd party distributions. + Top-level configure now accepts variables on command line, e.g., ./configure CC=g++ CFLAGS=-g * Function PCRE:PCRE-EXEC accepts :DFA and calls pcre_dfa_exec() when built against PCRE v6. See . * New functions RAWSOCK:IF-NAME-INDEX, RAWSOCK:IFADDRS. See . * When the OPTIMIZE SPACE level is low enough, keep function documentation and lambda list. See . * Bug fixes: + Make it possible to set *IMPNOTES-ROOT-DEFAULT* and *CLHS-ROOT-DEFAULT* to local paths, as opposed to URLs. [ 1494059 ] + Fix the evaluation order of initialization and :INITIALLY forms in then extended LOOP. [ 1516684 ] + Do not allow non-symbols as names of anonymous classes. [ 1528201 ] + REINITIALIZE-INSTANCE now calls FINALIZE-INHERITANCE. [ 1526448 ] + Fix the RAWSOCK module on big-endian platforms. [ 1529244 ] + PRINT-OBJECT now works on built-in objects. [ 1482533 ] + ADJUST-ARRAY signals an error if :FILL-POINTER is supplied and non-NIL but the non-adjustable array has no fill pointer, as per ANSI. [ 1538333 ] + MAKE-PATHNAME no longer ignores explicit :DIRECTORY NIL (thanks to Stephen Compall ). [ 1550803 ] + Executable images now work on ia64 (thanks to Dr. Werner Fink ). + MAKE-PATHNAME on win32 now handles correctly directories that start with a non-string (e.g., :WILD). [ 1555096 ] + SOCKET-STREAM-PEER and SOCKET-STREAM-LOCAL had do-not-resolved-p inverted since 2.37. + Set functions with :TEST 'EQUALP were broken on large lists. [ 1567186 ] @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.14 2006/07/20 23:05:43 perry Exp $ d3 3 a5 1 --- src/makemake.in.orig 2006-10-01 17:54:24.000000000 +0000 d7 7 a13 11 @@@@ -841,10 +841,10 @@@@ else fi if [ $HOS = unix ] ; then test -n "$mandir" || - mandir='${datadir}/man' # with autoconf-2.60: mandir='@@mandir@@' # usually '${datadir}/man' + mandir='${prefix}/man' # with autoconf-2.60: mandir='@@mandir@@' # usually '${datadir}/man' MANDIR=`echo "$mandir" | sed -e "$brace_to_paren"` else - mandir="\$(datadir)${NEXT_}man" + mandir="\$(prefix)${NEXT_}man" MANDIR="$mandir" d15 9 a23 10 if [ $HOS = unix ] ; then @@@@ -1361,7 +1361,7 @@@@ if [ "${with_dynamic_modules}" != no ]; freebsd2* | netbsd* | openbsd*) XCC_CREATESHARED='ld -Bshareable -o $lib $libs' ;; - freebsd3* | gnu* | linux* | cygwin* | k*bsd*) + freebsd3* | gnu* | linux* | cygwin* | k*bsd* | dragonfly*) XCC_CREATESHARED='$CC $CFLAGS $CLFLAGS -shared -o $lib $libs' ;; hpux9* | hpux10*) @ 1.14 log @Update to clisp 2.39 List of changes from the release notes: 2.39 (2006-07-16) ================= User visible changes -------------------- * SAVEINITMEM now accepts :SCRIPT argument that disables interpreting the first positional argument as the script name; and :DOCUMENTATION argument that is printed by the new -help-image command line option. See and for details. * FFI:UINT64 and FFI:SINT64 are now compatible with C's long long type. * Stack overflow detection and recovery finally work fine on Unix. Libsigsegv is required for this, on all platforms (including MS-Windows). CLISP should neither exit nor crash under infinite recursion. If your distribution has CLISP compiled without libsigsegv, report the missing feature to its maintainer. Note that libsigsegv 2.4 is required, there are bugs in libsigsegv 2.3! * It is now possible to specify the default method-combination of a generic function, to be used when the DEFGENERIC form does not specify the :METHOD-COMBINATION explicitly, through a default initarg specification for the :METHOD-COMBINATION keyword on the generic function class. * Readline completion works with non 1:1 terminal encodings, e.g. UTF-8. * WITH-KEYBOARD works with a Unix tty even when SLIME hijacks *TERMINAL-IO*. * I/O operations on Win32 are now much faster. * New functions: POSIX:FFS, POSIX:PATHCONF. * Infrastructure: + Top-level configure now accepts a new option --with-gmalloc to use the GNU malloc implementation instead of the one supplied by libc. You may need it on older HP-UX and newer OpenBSD systems. See file unix/PLATFORMS for more information. + The value of the environment variable CFLAGS is respected by configure. * Bug fixes: + SOCKET:SOCKET-SERVER :INTERFACE now behaves as documented. + EXT:READ-BYTE-NO-HANG and SOCKET:SOCKET-STATUS used to hang on buffered binary sockets. + Allow DESTRUCTURING-BIND (a . b) with circular and dotted lists. + ADJUST-ARRAY of zero length adjustable string now works. + TIME now reports correct results when the heap grows over 4GB. + RAWSOCK functions now handle :START/:END arguments correctly. + BDB:DBC-GET now accepts :READ-COMMITTED and :READ-UNCOMMITTED. + POSIX:GROUP-INFO and POSIX:USER-INFO now handle errors correctly. * Portability: + Support DragonFly BSD. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2006/05/10 18:26:34 joerg Exp $ d3 1 a3 1 --- src/makemake.in.orig 2006-07-20 18:16:36.000000000 -0400 d5 1 a5 1 @@@@ -830,10 +830,10 @@@@ else d18 1 a18 1 @@@@ -1345,7 +1345,7 @@@@ if [ "${with_dynamic_modules}" != no ]; @ 1.13 log @Readd the various pieces for DragonFly. Explicitly disable mmap, it currently doesn't work. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/makemake.in.orig 2006-01-23 21:07:27.000000000 +0000 d5 1 a5 1 @@@@ -823,10 +823,10 @@@@ else d18 1 a18 1 @@@@ -1334,7 +1334,7 @@@@ if [ "${with_dynamic_modules}" != no ]; d22 2 a23 2 - freebsd3* | gnu* | linux* | cygwin* ) + freebsd3* | gnu* | linux* | cygwin* | dragonfly*) @ 1.12 log @Update to 2.38: 2.38 (2006-01-24) ================= User visible changes -------------------- * SAVEINITMEM can create standalone executables. Thanks to Frank Buß for the idea. SAVEINITMEM also accepts :NORC argument do disable RC-file loading. See for details. * POSIX:SYSLOG no longer recognizes "%m" and other formatting instructions. For your safety and security, please do all formatting in Lisp. * Fixed the OPEN :IF-EXISTS :APPEND bug introduced in 2.37. * Fixed a crash on woe32 in opening files with names longer than MAX_PATH. * Module berkeley-db now supports Berkeley DB 4.4. 2.37 (2006-01-02) ================= User visible changes -------------------- * Signal a continuable error when an already opened file is opened again, unless both streams are read-only. * SOCKET-SERVER now accepts :BACKLOG and :INTERFACE arguments. The first (optional) argument should be the port number or NIL. Use (SOCKET-SERVER NIL :INTERFACE SOCKET) instead of (SOCKET-SERVER SOCKET). Thanks to Tomas Zellerin See for details. * EXT:HTTP-PROXY now uses the environment variable "http_proxy", not "HTTP_PROXY", like curl does, to avoid confusing it with CGI arguments. * OPEN :DIRECTION :OUTPUT now creates write-only handles and treats named pipes correctly. * Fixed EXT:SETENV on non-POSIX systems (woe32 and BSD derivatives). * Fixed a bug in EXT:! on 64-bit platforms. Thanks to Dr. Werner Fink 2.36 (2005-12-04) ================= User visible changes -------------------- * Infrastructure: + Top-level configure now accepts the option --enable-maintainer-mode that affects autoconf-related Makefile targets. The default value is determined based on the presence of the CVS directories. + When libsigsegv is not found, print instructions on getting/building libsigsegv and bail out; override with --ignore-absence-of-libsigsegv. + When --with-dynamic-ffi is supplied, but the FFI fails to build, abort. + When --with-readline is supplied, but GNU readline is not found, abort. + makemake no longer checks with_module_* variables. * New function EXT:OPEN-HTTP and macro EXT:WITH-HTTP-INPUT. See for details. * New declaration EXT:NOTSPECIAL undoes the effects of DEFVAR and DEFCONSTANT. See for details. * Function EXT:CLHS is now deprecated in favor of DESCRIBE, which can now point your web browser to the ANSI CL and CLISP-specific documentation. See for details. * FFI modules can now take advantage of autoconf feature detection. See for details. * New FFI macro FFI:DEF-C-CONST. See for details. * New charset BASE64 encodes arbitrary byte sequences with strings of printable ASCII characters (4 characters per 3 bytes). See for details. * New module readline offers some advanced readline and history features. It is a BASE module and is available when both FFI and readline are present. * SOCKET:SOCKET-SERVICE-PORT is now deprecated in favor of OS:SERVICE. See for details. * New SETF-able functions POSIX:GETUID, POSIX:GETGID, POSIX:GETEUID, POSIX:GETEGID. New functions POSIX:GROUP-INFO and POSIX:STRING-TIME. Function POSIX:USER-DATA is renamed to POSIX:USER-INFO. See for details. * New NEW-CLX demo: foch.lisp draws fractal snowflakes. Implemented XLIB:SET-MODIFIER-MAPPING, XLIB:KEYSYM->KEYCODES, XLIB:ACCESS-HOSTS, XLIB:ADD-ACCESS-HOST, XLIB:REMOVE-ACCESS-HOST, XLIB:CHANGE-KEYBOARD-CONTROL, XLIB:CHANGE-KEYBOARD-MAPPING, XLIB:KEYBOARD-MAPPING, XLIB:KEYSYM-NAME, XLIB:KEYCODE->CHARACTER, XLIB:SHAPE-EXTENTS, XLIB:SHAPE-RECTANGLES, XLIB:DEFAULT-KEYSYM-INDEX. Use MAP instead of ELT for sequence access in NEW-CLX. * ANSI CL compliance issues: + DEFPACKAGE options :SHADOWING-IMPORT-FROM, :USE, :IMPORT-FROM accept package designators, not just package names. + ENCODE-UNIVERSAL-TIME is now the perfect inverse for DECODE-UNIVERSAL-TIME. * The command line option -v now affects *LOAD-ECHO* also. See for details. * When a CLISP process is killed, clean-up is always executed. * DEFCLASS now permits user-defined :ALLOCATION arguments. * Fixed (FUNCTION-LAMBDA-EXPRESSION #'(SETF FOO)) on compiled functions. * Fixed re-exporting symbols from POSIX to EXT. * Fixed module rawsock on platforms with non-trivial struct sockaddr layout. Functions that take a BUFFER argument, also take :START and :END arguments. Renamed RAWSOCK:LISTEN to RAWSOCK:SOCK-LISTEN to avoid a conflict with CL. New functions RAWSOCK:PROTOCOL, RAWSOCK:NETWORK, RAWSOCK:GETADDRINFO, RAWSOCK:GETNAMEINFO. See for details. * Fixed module postgresql logging behavior. * Fixed clisp.h generation to conform to the internal definitions. 2.35 (2005-08-29) ================= User visible changes -------------------- * SOCKET:SOCKET-STREAM-SHUTDOWN does not call CLOSE anymore, just shutdown(2) - as it has always been documented. It now also works on raw sockets, thus RAWSOCK:SHUTDOWN has been removed. See and for details. * When the command line option -E receives an invalid encoding, ISO-8859-1 is used instead. [It was ASCII (for *FOREIGN-ENCODING*) or UTF-8 (for all other encodings) before.] Rationale: this is a 1:1 that corresponds to CLISP CODE-CHAR/CHAR-CODE and avoids spurious errors in DIRECTORY on startup. * New function EXT:COMPILED-FILE-P - checks whether the file is a CLISP-compiled file with a compatible bytecode format. See for details. * New functions EXT:CHAR-INVERTCASE, EXT:STRING-INVERTCASE and EXT:NSTRING-INVERTCASE invert case of characters and strings. See and for details. * New function POSIX:STREAM-OPTIONS calls fcntl(2). See for details. * Explicitly close all possible file descriptors before exec(). * Danish translations of the user interface messages have been added. Thanks to Dennis Decker Jensen 2.34 (2005-07-20) ================= Important notes --------------- * All .fas files generated by previous CLISP versions are invalid and must be recompiled. This is caused by the addition of MOP, the DEFSETF fixes, and the TRANSLATE-PATHNAME and MAKE-HASH-TABLE enhancements. Set CUSTOM:*LOAD-OBSOLETE-ACTION* to :COMPILE to automate this. See for details. * The name of the Run-Control file has changed from '_clisprc' to '.clisprc' on all platforms. If you are using woe32, please rename your Run-Control file. * Modules i18n, regexp, and syscalls are now present even in the base linking set. Do not pass, e.g., "--with-module=regexp" to configure. User visible changes -------------------- * The CLOS MetaObject Protocol is supported: + New class METAOBJECT. + Classes: New classes STANDARD-READER-METHOD, STANDARD-WRITER-METHOD, FORWARD-REFERENCED-CLASS. New functions ENSURE-CLASS. New generic functions CLASS-DIRECT-SUPERCLASSES, CLASS-PRECEDENCE-LIST, CLASS-DIRECT-SLOTS, CLASS-SLOTS, CLASS-DIRECT-DEFAULT-INITARGS, CLASS-DEFAULT-INITARGS. New customizable generic functions For class creation: ENSURE-CLASS-USING-CLASS, VALIDATE-SUPERCLASS, COMPUTE-DIRECT-SLOT-DEFINITION-INITARGS, COMPUTE-CLASS-PRECEDENCE-LIST, COMPUTE-EFFECTIVE-SLOT-DEFINITION, COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS, COMPUTE-SLOTS, COMPUTE-DEFAULT-INITARGS, READER-METHOD-CLASS, WRITER-METHOD-CLASS. For notification about subclasses: CLASS-DIRECT-SUBCLASSES, ADD-DIRECT-SUBCLASS, REMOVE-DIRECT-SUBCLASS. + Generic Functions: New classes FUNCALLABLE-STANDARD-CLASS, FUNCALLABLE-STANDARD-OBJECT. New functions ENSURE-GENERIC-FUNCTION, SET-FUNCALLABLE-INSTANCE-FUNCTION, COMPUTE-EFFECTIVE-METHOD-AS-FUNCTION. New generic functions GENERIC-FUNCTION-NAME, GENERIC-FUNCTION-METHODS, GENERIC-FUNCTION-METHOD-CLASS, GENERIC-FUNCTION-LAMBDA-LIST, GENERIC-FUNCTION-METHOD-COMBINATION, GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER, GENERIC-FUNCTION-DECLARATIONS. New customizable generic functions ENSURE-GENERIC-FUNCTION-USING-CLASS, COMPUTE-DISCRIMINATING-FUNCTION, COMPUTE-APPLICABLE-METHODS, COMPUTE-APPLICABLE-METHODS-USING-CLASSES. + Methods: New generic functions METHOD-FUNCTION, METHOD-GENERIC-FUNCTION, METHOD-LAMBDA-LIST, METHOD-SPECIALIZERS, ACCESSOR-METHOD-SLOT-DEFINITION. New functions EXTRACT-LAMBDA-LIST, EXTRACT-SPECIALIZER-NAMES. + Method-Combinations: New generic function FIND-METHOD-COMBINATION. New customizable generic function COMPUTE-EFFECTIVE-METHOD. + Slot-Definitions: New classes SLOT-DEFINITION, STANDARD-SLOT-DEFINITION, DIRECT-SLOT-DEFINITION, STANDARD-DIRECT-SLOT-DEFINITION, EFFECTIVE-SLOT-DEFINITION, STANDARD-EFFECTIVE-SLOT-DEFINITION. New generic functions SLOT-DEFINITION-NAME, SLOT-DEFINITION-INITFORM, SLOT-DEFINITION-INITFUNCTION, SLOT-DEFINITION-TYPE, SLOT-DEFINITION-ALLOCATION, SLOT-DEFINITION-INITARGS, SLOT-DEFINITION-READERS, SLOT-DEFINITION-WRITERS, SLOT-DEFINITION-LOCATION. New customizable generic functions DIRECT-SLOT-DEFINITION-CLASS, EFFECTIVE-SLOT-DEFINITION-CLASS. + Specializers: New classes SPECIALIZER, EQL-SPECIALIZER. New generic functions SPECIALIZER-DIRECT-GENERIC-FUNCTIONS, SPECIALIZER-DIRECT-METHODS. New functions EQL-SPECIALIZER-OBJECT, INTERN-EQL-SPECIALIZER. New customizable generic functions ADD-DIRECT-METHOD, REMOVE-DIRECT-METHOD. + Slot access: New generic functions SLOT-VALUE-USING-CLASS, (SETF SLOT-VALUE-USING-CLASS), SLOT-BOUNDP-USING-CLASS, SLOT-MAKUNBOUND-USING-CLASS. New functions STANDARD-INSTANCE-ACCESS, FUNCALLABLE-STANDARD-INSTANCE-ACCESS. + Dependent object notification: New functions MAP-DEPENDENTS. New customizable generic functions ADD-DEPENDENT, REMOVE-DEPENDENT, UPDATE-DEPENDENT. See for details, and for a list of differences between CLISP and "The Art of the Metaobject Protocol". *FEATURES* now contains :MOP. * CLISP now supports programming with case sensitive symbols. This is the default when CLISP is started with the new command line option "-modern". See for details. * Several new datatypes that manage weak references: WEAK-LIST, WEAK-AND-RELATION, WEAK-OR-RELATION, WEAK-MAPPING, WEAK-AND-MAPPING, WEAK-OR-MAPPING, WEAK-ALIST. New functions - for WEAK-LIST: MAKE-WEAK-LIST, WEAK-LIST-P, WEAK-LIST-LIST, (SETF WEAK-LIST-LIST), - for WEAK-AND-RELATION: MAKE-WEAK-AND-RELATION, WEAK-AND-RELATION-P, WEAK-AND-RELATION-LIST, - for WEAK-OR-RELATION: MAKE-WEAK-OR-RELATION, WEAK-OR-RELATION-P, WEAK-OR-RELATION-LIST, - for WEAK-MAPPING: MAKE-WEAK-MAPPING, WEAK-MAPPING-P, WEAK-MAPPING-PAIR, WEAK-MAPPING-VALUE, (SETF WEAK-MAPPING-VALUE), - for WEAK-AND-MAPPING: MAKE-WEAK-AND-MAPPING, WEAK-AND-MAPPING-P, WEAK-AND-MAPPING-PAIR, WEAK-AND-MAPPING-VALUE, (SETF WEAK-AND-MAPPING-VALUE), - for WEAK-OR-MAPPING: MAKE-WEAK-OR-MAPPING, WEAK-OR-MAPPING-P, WEAK-OR-MAPPING-PAIR, WEAK-OR-MAPPING-VALUE, (SETF WEAK-OR-MAPPING-VALUE), - for WEAK-ALIST: MAKE-WEAK-ALIST, WEAK-ALIST-P, WEAK-ALIST-TYPE, WEAK-ALIST-CONTENTS, (SETF WEAK-ALIST-CONTENTS), WEAK-ALIST-ASSOC, WEAK-ALIST-RASSOC, WEAK-ALIST-VALUE, (SETF WEAK-ALIST-VALUE). See for details. * You can create formatting streams of class EXT:FILL-STREAM. See for details. * SUBTYPEP can determine subtype relationship and type equivalence much better than it could before. * When *PRINT-READABLY* is true, symbols are now printed with package marker and vertical bars. * ANSI CL compliance issues: + Issue is implemented: The scope of declarations that do not apply to bindings, such as free SPECIAL, NOTINLINE or OPTIMIZE declarations, includes only the body forms and no longer includes the initforms of the LAMBDA/LET/LET*/MULTIPLE-VALUE-BIND bindings. + Vectors of element type NIL are now strings in all aspects. But the type BASE-STRING does _not_ include vectors of element type NIL. + TYPE-OF now returns STANDARD-CHAR instead of CHARACTER when possible. + The type COMPILED-FUNCTION no longer encompasses generic functions. + TYPE-OF now returns COMPILED-FUNCTION or STANDARD-GENERIC-FUNCTION instead of FUNCTION when possible. + The space character is printed as "#\ " if CUSTOM:*PRINT-SPACE-CHAR-ANSI* is true. + The # no longer has the nickname "". The syntax :FOO for keywords still works, but is now special cased in the reader. + Class redefinition with DEFCLASS no longer modifies the previous class if it doesn't have a "proper name". + Class redefinition with DEFCLASS removes accessor methods that have been installed through the previous DEFCLASS definition of the same class. + Generic function redefinition with DEFGENERIC removes methods that have been installed through the previous DEFGENERIC definition of the same function. + The set of qualifiers allowed for methods that are combined with a method combination defined through the short form of DEFINE-METHOD-COMBINATION now includes the name of the method combination instead of the operator. + FIND-METHOD now gives an error if the list of specializers has a wrong length. + ARRAY-TOTAL-SIZE-LIMIT, ARRAY-DIMENSION-LIMIT, ARRAY-RANK-LIMIT are now fixnums. + SHORT-FLOATs whose absolute value is an integer in the range between 10^5 and 10^7 are now printed with full precision. + Operations combining rational and floating-point numbers now return a floating-point result if CUSTOM:*FLOATING-POINT-RATIONAL-CONTAGION-ANSI* is true. When the mathematical result in a situation is rational, a warning is issued if CUSTOM:*WARN-ON-FLOATING-POINT-RATIONAL-CONTAGION* is true. + Class redefinition with DEFCLASS now updates existing instances as specified. + An ABORT restart is now always installed. + UPDATE-INSTANCE-FOR-DIFFERENT-CLASS does the required argument checking. + Passing invalid initialization arguments to MAKE-INSTANCE and similar now generates a PROGRAM-ERROR instead of just an ERROR. + Documentation strings are now attached to class objects, not just to their name. + Arrays with total array size 0 are printed in a lossy way if CUSTOM:*PRINT-EMPTY-ARRAYS-ANSI* is true and *PRINT-READABLY* is false. + Allow () to match NIL in destructuring lambda lists. + Documentation strings at a place where only declarations and forms are allowed now give a warning, not an error. + LAST, BUTLAST and NBUTLAST check their list argument for circularity. + Different LOAD-TIME-VALUE forms that are EQUAL but not EQ are no longer coalesced by COMPILE-FILE. + DEFSETF lambda-lists now support &ENVIRONMENT. + DEFSETF lambda-lists are no longer destructuring lambda-lists. + NAMESTRING no longer accepts an optional second argument. + SETF of VALUES now uses only the first value of each subform. + SPECIAL declarations of variables are now correctly respected inside macro expanders defined through MACROLET within the declaration's scope. + (EXPORT NIL), (UNEXPORT NIL), (IMPORT NIL), (SHADOWING-IMPORT NIL), (SHADOW NIL) are now nops. + An attempt to create a condition from an invalid condition designator now always results in a TYPE-ERROR being signalled. + The reader's errors are now of type READER-ERROR when they should be. + READ-DELIMITED-LIST now returns NIL when *READ-SUPPRESS* is true. + Printing of multidimensional arrays now respects *PRINT-LEVEL*. + As required by 19.2.3, *DEFAULT-PATHNAME-DEFAULTS* is merged into pathnames before accessing the file system. + LOGICAL-PATHNAME now gives an error if the argument string does not contain a host specification. + The PRINT-UNREADABLE macro prints extraneous spaces if CUSTOM:*PRINT-UNREADABLE-ANSI* is true. + In the #n= and #n# reader syntax, the integer n may now be larger than 7 digits. + IN-PACKAGE forms with constant arguments are no longer executed by the compiler if they occur in a non-null lexical environment. + COMPILE-FILE now always returns the TRUENAME of its output file. + GET-SETF-EXPANSION now accepts NIL as the environment argument to mean null lexical environment Thanks to Paul F. Dietz and his ANSI compliance suite, which helped detect some of these deficiencies. Thanks to Yuji Minejima and his ANSI compliance suite, which helped detect some of these deficiencies. * Global error handlers can now be installed and removed using EXT:SET-GLOBAL-HANDLER, EXT:WITHOUT-GLOBAL-HANDLERS, and -on-error command line option. See and for details. * TRANSLATE-PATHNAME and TRANSLATE-LOGICAL-PATHNAME accept a new keyword argument :ABSOLUTE which makes them convert their return values to absolute pathnames. See and for details. * New function EXT:ABSOLUTE-PATHNAME. See for details. * New function EXT:ELASTIC-NEWLINE and new FORMAT directive "~.". See and for details. Through this function, CLISP no longer produces spurious blank lines when a program uses the convention of printing a #\Newline before each line. * TRACE has a new option :MAX-DEPTH, that is useful to avoid infinite recursions in the tracer. See for details. * The function LENGTH and a few other sequence functions now signal a TYPE-ERROR when a circular list has been given as argument. * Function UPGRADED-COMPLEX-PART-TYPE is now as precise as possible. See for details. * In non-interactive batch mode, *ERROR-OUTPUT* now uses the system's standard error stream, instead of the standard output stream. * The macros MUFFLE-CERRORS, APPEASE-CERRORS and EXIT-ON-ERROR now treat CONTINUE restarts which require interactive user intervention like other restarts. Only non-interactive CONTINUE restarts are silently invoked. * LOAD :OBSOLETE-ACTION can now also be :COMPILE to automatically recompile the obsolete *.fas file. LOAD can now ignore erroneous forms using SKIP and STOP restarts. See for details. * References from within macros defined through MACROLET to variables or functions defined in the lexical environment outside the MACROLET form now signal an error. Previously, this resulted in undefined behavior. * The FFI recognizes the c-type declaration (FFI:C-POINTER ) to handle references without conversion to/from Lisp structures. See for details. * The FFI variable FFI:*FOREIGN-ENCODING* can now be a multibyte encoding. The warning "*FOREIGN-ENCODING*: reset to ASCII" at startup is gone. * New FFI constructor functions FFI:FOREIGN-VARIABLE and FFI:FOREIGN-FUNCTION, more operators are now exported (FFI:FOREIGN-VALUE, FFI:PARSE-C-TYPE). See and for details. * FFI macro FFI:C-LINES can now be used to fine-tune initialization and finalization. See for details. * New FFI function FFI:CLOSE-FOREIGN-LIBRARY can be used to unload a library. See for details. * New FFI low-level accessor FFI:MEMORY-AS. See for details. * Foreign functions and variables can now be documented using the :DOCUMENTATION option to FFI:DEF-CALL-OUT and FFI:DEF-C-VAR. * Buffered streams now are suitable for interactive streams. It is no longer necessary to use :BUFFERED NIL to avoid blocking in various situations. * Function EXT:READ-BYTE-SEQUENCE takes a new keyword argument :INTERACTIVE. See for details. * Methods on GRAY:STREAM-READ-BYTE-SEQUENCE and GRAY:STREAM-WRITE-BYTE-SEQUENCE now need to accept a second optional argument. * The possible values of the :WEAK argument of MAKE-HASH-TABLE are changed: Use :KEY-AND-VALUE instead of :EITHER, :KEY-OR-VALUE instead of :BOTH now. * The :LIBRARY option argument to EXT:DEF-CALL-OUT and EXT:DEF-C-VAR is now evaluated (i.e., it can now be a variable) and may take a value of :DEFAULT and :NEXT in addition to being a string as before. See and for details. * New user variable CUSTOM:*PRINT-SYMBOL-PACKAGE-PREFIX-SHORTEST* allows using the shortest package (nick)name as the symbol prefix. See for details. * The user commands can now be extended using CUSTOM:*USER-COMMANDS*. See for details. * Initialization and finalization of the CLISP process can now be augmented with CUSTOM:*INIT-HOOKS* and CUSTOM:*FINI-HOOKS*. See and for details. * SET functions (like UNION et al) are now much faster on large lists. * The second, optional argument of EXT:SPECIAL-VARIABLE-P can no longer be T; please use (THE-ENVIRONMENT) instead. * New function EXT:FEATUREP - the run-time version of read-time #+/#-. See for details. * Bug fixes: + The interpreter no longer executes the body of (EVAL-WHEN (COMPILE) ...) forms. + Fixes to internationalized error messages. + When an interpreted INITIALIZE-INSTANCE method uses CALL-NEXT-METHOD with a modified argument list, MAKE-INSTANCE could in some cases initialize the new object three times instead of just once. + Fixed a compiler bug that could lead to incorrect code when a LAMBDA with SPECIAL-declared optional variables was compiled inline and the initforms of the optional variables depended on the values of the previous optional variables. + Passing a package as second argument of RENAME-PACKAGE led to an unjustified error. + Passing a displaced vector as argument to REVERSE could lead to an unjustified error. + FRESH-LINE did not work in some situations. + Fixed ATANH on complex numbers. + The macros EXT:LETF and EXT:LETF* now work correctly on symbol-macros. + Fixed a spurious crash of MULTIPLE-VALUE-SETQ in interpreted code. + Fixed a crash of (COPY-READTABLE NIL some-readtable). + Fixed a crash when using a hash-table as hash-table key. + Fixed a crash triggered by the READ-BYTE function on streams with element type ([UN]SIGNED-BYTE n), 24 < n < 32, on big-endian platforms. + Fixed a crash that occurred on glibc platforms when writing Unicode characters in the range #\U000E0000..#\U000E007F on a stream with an encoding other than UTF-8. + An invalid bignum could be returned by GET-INTERNAL-RUN-TIME on 64-bit platforms. + Third party code walkers can now handle HANDLER-BIND et al. * Woe32 distribution now comes with a binary driver clisp.exe. Do not copy it anywhere - create a shortcut to it instead! Use install.bat to automate shortcut creation. Modules ------- * New module matlab interfaces to and allows complicated matrix computations. See for details. * New module rawsock offers low-level socket access. Thanks to Fred and Don Cohens. See for details. * New module zlib interfaces to and allows compression and uncompression of vectors. See for details. * New module i18n now contains the GNU gettext interface as well as other functionality for Lisp program internationalization. See for details. * New module PARI interfaces to . See for details. * Module syscalls is significantly expanded. See for details. * Module berkeley-db is vastly expanded. See for details. Added support for Berkeley DB 4.3. * Modules now have an exit function. See for details. Portability ----------- * Heaps and memory images larger than 4 GB are now supported on 64-bit platforms. * Support files larger than 2 GB or 4 GB also on Windows. * Weak pointers now also work on platforms without mmap(). * Weak hash tables now also work on platforms without mmap(). * Dynamic modules now work on woe32 too. * On most 64-bit platforms, fixnums are now 49 bits wide (including the sign bit), instead of 33 bits wide. @ text @d18 9 @ 1.12.2.1 log @Pullup ticket 1670 - requested by joerg build and other fixes for clisp Revisions pulled up: - pkgsrc/lang/clisp/Makefile 1.52, 1.54 - pkgsrc/lang/clisp/distinfo 1.12 - pkgsrc/lang/clisp/patches/patch-aa 1.13 - pkgsrc/lang/clisp/patches/patch-ab 1.9 - pkgsrc/lang/clisp/patches/patch-ac 1.7 - pkgsrc/lang/clisp/patches/patch-ad 1.7 - pkgsrc/lang/clisp/patches/patch-ae 1.7 - pkgsrc/lang/clisp/patches/patch-af 1.6 - pkgsrc/lang/clisp/patches/patch-ag 1.4 Module Name: pkgsrc Committed By: wiz Date: Tue Apr 4 19:12:10 UTC 2006 Modified Files: pkgsrc/lang/clisp: Makefile Log Message: Fix build on amd64. Add same workaround for other 64-bit platforms. Remove outdated comment. From Martijn in PR 33189. --- Module Name: pkgsrc Committed By: joerg Date: Wed May 10 18:26:34 UTC 2006 Modified Files: pkgsrc/lang/clisp: Makefile distinfo pkgsrc/lang/clisp/patches: patch-aa Added Files: pkgsrc/lang/clisp/patches: patch-ab patch-ac patch-ad patch-ae patch-af patch-ag Log Message: Readd the various pieces for DragonFly. Explicitly disable mmap, it currently doesn't work. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2006/05/10 18:26:34 joerg Exp $ a17 9 @@@@ -1334,7 +1334,7 @@@@ if [ "${with_dynamic_modules}" != no ]; freebsd2* | netbsd* | openbsd*) XCC_CREATESHARED='ld -Bshareable -o $lib $libs' ;; - freebsd3* | gnu* | linux* | cygwin* ) + freebsd3* | gnu* | linux* | cygwin* | dragonfly*) XCC_CREATESHARED='$CC $CFLAGS $CLFLAGS -shared -o $lib $libs' ;; hpux9* | hpux10*) @ 1.11 log @Update to 2.33 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2003/07/13 14:34:49 dillo Exp $ d3 15 a17 12 --- ../configure.orig 2004-03-28 16:37:55.000000000 -0500 +++ ../configure 2004-03-28 16:39:05.000000000 -0500 @@@@ -7,6 +7,9 @@@@ # configure make.gcc gcc (deprecated) # configure make.cc cc (deprecated) +# strip leading spaces, which lead to problems later on +CPPFLAGS="`echo $CPPFLAGS`" + info_help () { cat << \EOP Usage: configure [options] [dirname] @ 1.10 log @upgrade to 2.30 does no longer include (copies of) libintl and libiconv numerous enhancements and bug fixes, see included NEWS file @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- ../configure.orig Thu Sep 5 02:06:40 2002 +++ ../configure a14 15 @@@@ -437,14 +443,6 @@@@ if test -n "$do_config"; then done rm -f config.cache; # avoid problems with stale caches cd .. -fi - -if test -d $ABS_DIRNAME/avcall -a -d $ABS_DIRNAME/callback; then - (cd $ABS_DIRNAME/avcall && make) && - (cd $ABS_DIRNAME/callback && make) && - (cd $ABS_DIRNAME/avcall && make check) && - (cd $ABS_DIRNAME/callback && make check) && - makemake_args="--with-dynamic-ffi $makemake_args" fi makemake_args="${makemake_args} ${target} ${debug}"; @ 1.9 log @Update CLISP to 2.27, based on PR 15224 by Shell Hung, libtool-overridden and buildlinked by me. Changes: Now distributed under the GPL. All .fas files generated by previous CLISP versions are invalid and must be recompiled. Hostname resolution is now optional in EXT:SOCKET-STREAM-PEER and EXT:SOCKET-STREAM-LOCAL. EXT:SOCKET-STATUS now accepts SOCKET-SERVERs too, and the direction of the checks can be specified. Added install.bat for win32 installation. Fixed handling of circular structs and pointers to functions in the FFI. Fixed binary I/O for streams with element type longer than one byte, but not a whole number of bytes. @ text @d3 1 a3 1 --- ../configure.orig Tue May 8 16:09:59 2001 d5 16 a20 4 @@@@ -512,13 +512,6 @@@@ makemake_args="$makemake_args --with-nogettext" fi fi d26 2 a27 4 - makemake_args="$makemake_args --with-dynamic-ffi" -fi if test -z "$do_build"; then d29 1 @ 1.8 log @Restructure patch-aa to get it integrated in the main tree. Remove patch-a{b,c,d} since self tests work now. Correct HOMEPAGE. @ text @d3 5 a7 22 --- makemake.in.orig Mon Mar 6 12:37:21 2000 +++ makemake.in Mon Jun 5 23:32:06 2000 @@@@ -159,7 +159,7 @@@@ srcdir='' prefix='' exec_prefix='' -fsstnd=gnu_ext # supported styles: gnu, gnu_ext, suse, redhat, debian +fsstnd=gnu_ext # supported styles: gnu_ext, suse, redhat, debian, netbsd MODULES='' CP='cp -p' LN_S='ln -s' @@@@ -317,7 +317,7 @@@@ LIBDL='@@LIBDL@@' # either '-ldl' or '' LIBICONV='@@LIBICONV@@' # either '-liconv' or '' X_INCLUDES='@@X_INCLUDES@@' # either '-I/usr/somewhere/include' or '' - X_LIBS='@@X_LIBS@@' # either '-L/usr/somewhere/lib -lX11' or '' + X_LIBS='-Wl,-rpath ${X11BASE}/lib @@X_LIBS@@' # either '-L/usr/somewhere/lib -lX11' or '' host='@@host@@' # something like 'sparc-sun-sunos4' host_cpu='@@host_cpu@@' # something like 'sparc' host_vendor='@@host_vendor@@' # something like 'sun' @@@@ -1118,6 +1118,9 @@@@ esac d9 9 a18 89 +if [ "$TSYSOS" = "netbsd" ] ; then # NetBSD + XCFLAGS=$XCFLAGS' -Dunix' +fi if [ $TSYS = sun4 -a $CROSS = false ] ; then ARCH_K=`(arch -k) 2>/dev/null || uname -m 2>/dev/null` # kernel architecture, see arch(1) if [ "$ARCH_K" = sun4 -o "$ARCH_K" = sun4c -o "$ARCH_K" = sun4e ] ; then @@@@ -1626,6 +1629,10 @@@@ echol "docdir = \$(exec_prefix)${NEXT_}doc" echol "lispdocdir = \$(docdir)${NEXT_}clisp" ;; + netbsd) + echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc" + echol "lispdocdir = \$(docdir)${NEXT_}clisp" + ;; suse) echol "docdir = \$(exec_prefix)${NEXT_}doc" echol "lispdocdir = \$(docdir)${NEXT_}packages${NEXT_}clisp" @@@@ -3133,10 +3140,17 @@@@ echotab "if [ ! -d \$(install_root)\$(htmldir) ] ; then mkdir \$(install_root)\$(htmldir) ; fi" echotab "if [ ! -d \$(install_root)\$(dvidir) ] ; then mkdir \$(install_root)\$(dvidir) ; fi" ;; + netbsd) + echotab "if [ ! -d \$(install_root)\$(exec_prefix)/share ] ; then mkdir \$(install_root)\$(exec_prefix)/share ; fi" + echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi" + ;; esac echotab "if [ ! -d \$(install_root)\$(docdir) ] ; then mkdir \$(install_root)\$(docdir) ; fi" echotab "if [ ! -d \$(install_root)\$(lispdocdir) ] ; then mkdir \$(install_root)\$(lispdocdir) ; fi" - echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi" + if [ "$fsstnd" != netbsd ] + then + echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi" + fi echol echol "install-bin : lisp${LEXE} lispinit.mem clisp.c force" echotab "if [ ! -d \$(install_root)\$(prefix) ] ; then mkdir \$(install_root)\$(prefix) ; fi" @@@@ -3191,6 +3205,14 @@@@ echotab "\$(INSTALL_DATA) clreadline.dvi \$(install_root)\$(dvidir)/clreadline.dvi" fi ;; + netbsd) + echotab "if [ ! -d \$(install_root)\$(exec_prefix)/share ] ; then mkdir \$(install_root)\$(exec_prefix)/share ; fi" + echotab "if [ ! -d \$(install_root)\$(prefix)/share/doc/clisp ] ; then mkdir \$(install_root)\$(prefix)/share/doc/clisp ; fi" + echotab "\$(INSTALL_DATA) clisp.html \$(install_root)\$(prefix)/share/doc/clisp/clisp.html" + if [ $TERMINAL = readline ] ; then + echotab "\$(INSTALL_DATA) clreadline.html \$(install_root)\$(prefix)/share/doc/clisp/clreadline.html" + fi + ;; esac echol echol "install-doc : \$(READMES) \$(MANUALS)${manual_dvi} force" @@@@ -3198,9 +3220,14 @@@@ echotab "if [ ! -d \$(install_root)\$(exec_prefix) ] ; then mkdir \$(install_root)\$(exec_prefix) ; fi" echotab "if [ ! -d \$(install_root)\$(docdir) ] ; then mkdir \$(install_root)\$(docdir) ; fi" echotab "if [ ! -d \$(install_root)\$(lispdocdir) ] ; then mkdir \$(install_root)\$(lispdocdir) ; fi" - echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi" echotab "\$(INSTALL_DATA) \$(READMES) \$(install_root)\$(lispdocdir)/" - echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/doc/" + if [ "$fsstnd" = netbsd ] + then + echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/" + else + echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi" + echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/doc/" + fi echol echol echol "installcheck : ${TESTSDIR} force" @@@@ -3236,9 +3263,19 @@@@ echotab "\$(RM) \$(install_root)\$(dvidir)/clreadline.dvi" fi ;; + netbsd) + if [ $TERMINAL = readline ] ; then + echotab "\$(RM) \$(install_root)\$(prefix)/share/doc/clisp/clreadline.html" + fi + ;; esac echotab "for f in \$(READMES); do \$(RM) \$(install_root)\$(lispdocdir)/\$\$f; done" - echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/doc/\$\$f; done" + if [ "$fsstnd" = netbsd ] + then + echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/\$\$f; done" + else + echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/doc/\$\$f; done" + fi echol echol fi @ 1.7 log @Update to 2000-03-06. Changes too many to list here, please take a look at the NEWS file included in the distribution. Update provided by Dieter Baron in private communication. @ text @d3 11 a13 2 --- makemake.in.orig Thu May 25 16:35:13 2000 +++ makemake.in Thu May 25 16:51:16 2000 d28 1 a28 1 + XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC -fpcc-struct-return -Dunix' d33 2 a34 6 @@@@ -1623,7 +1626,7 @@@@ echol "dvidir = \$(exec_prefix)${NEXT_}share${NEXT_}dvi" case "$fsstnd" in gnu_ext) - echol "docdir = \$(exec_prefix)${NEXT_}doc" + echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc" d37 4 d42 8 a49 15 @@@@ -2533,7 +2536,7 @@@@ if [ $HOS = unix ] ; then echotab "if test -d locale; then rm -rf locale; fi" echotab "mkdir locale" - echotab "(cd gettext/po && \$(MAKE) && \$(MAKE) install datadir=../.. localedir='\$\$(datadir)/locale' INSTALL_DATA=ln) || (rm -rf locale ; exit 1)" + echotab "(cd gettext/po && \$(MAKE) && \$(MAKE) install datadir=../.. localedir='\$\$(datadir)/locale' INSTALL_DATA=\"ln -f\") || (rm -rf locale ; exit 1)" else echotab "mkdir locale" eval `grep ALL_LINGUAS= src/gettext/configure.in` @@@@ -3130,13 +3133,11 @@@@ case "$fsstnd" in gnu_ext) echotab "if [ ! -d \$(install_root)\$(exec_prefix)/share ] ; then mkdir \$(install_root)\$(exec_prefix)/share ; fi" - echotab "if [ ! -d \$(install_root)\$(htmldir) ] ; then mkdir \$(install_root)\$(htmldir) ; fi" - echotab "if [ ! -d \$(install_root)\$(dvidir) ] ; then mkdir \$(install_root)\$(dvidir) ; fi" d51 1 a51 1 ;; d56 4 d63 6 a68 6 @@@@ -3178,17 +3179,10 @@@@ case "$fsstnd" in gnu_ext) echotab "if [ ! -d \$(install_root)\$(exec_prefix)/share ] ; then mkdir \$(install_root)\$(exec_prefix)/share ; fi" - echotab "if [ ! -d \$(install_root)\$(htmldir) ] ; then mkdir \$(install_root)\$(htmldir) ; fi" - echotab "\$(INSTALL_DATA) clisp.html \$(install_root)\$(htmldir)/clisp.html" d71 1 a71 9 if [ $TERMINAL = readline ] ; then - echotab "\$(INSTALL_DATA) clreadline.html \$(install_root)\$(htmldir)/clreadline.html" - fi - echotab "if [ ! -d \$(install_root)\$(dvidir) ] ; then mkdir \$(install_root)\$(dvidir) ; fi" - if test -n "$GROFF"; then - echotab "\$(INSTALL_DATA) clisp.dvi \$(install_root)\$(dvidir)/clisp.dvi" - fi - if [ $TERMINAL = readline ] ; then - echotab "\$(INSTALL_DATA) clreadline.dvi \$(install_root)\$(dvidir)/clreadline.dvi" d73 2 a74 2 fi ;; d76 3 a78 1 @@@@ -3198,9 +3192,8 @@@@ d85 7 a91 1 + echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/" d95 2 a96 12 @@@@ -3227,18 +3220,13 @@@@ fi case "$fsstnd" in gnu_ext) - echotab "\$(RM) \$(install_root)\$(htmldir)/clisp.html" - if [ $TERMINAL = readline ] ; then - echotab "\$(RM) \$(install_root)\$(htmldir)/clreadline.html" - fi - echotab "\$(RM) \$(install_root)\$(dvidir)/clisp.dvi" if [ $TERMINAL = readline ] ; then - echotab "\$(RM) \$(install_root)\$(dvidir)/clreadline.dvi" + echotab "\$(RM) \$(install_root)\$(prefix)/share/doc/clisp/clreadline.html" d99 5 d107 6 a112 1 + echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/\$\$f; done" @ 1.6 log @Make this package patch and compile again. @ text @d3 3 a5 4 --- makemake.in.orig Tue Jul 20 21:03:11 1999 +++ makemake.in Sat Dec 18 04:45:33 1999 @@@@ -316,7 +316,7 @@@@ LIBTERMCAP='@@LIBTERMCAP@@' # either '-ltermcap' or '-lncurses' d7 1 d14 1 a14 1 @@@@ -1116,6 +1116,10 @@@@ d19 2 a20 3 + XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC -fpcc-struct-return -Dunix' +fi + d24 1 a24 1 @@@@ -1595,7 +1599,7 @@@@ d33 1 a33 1 @@@@ -2503,7 +2507,7 @@@@ d42 1 a42 1 @@@@ -3084,13 +3088,11 @@@@ d45 3 a47 3 echotab "if [ ! -d \$(exec_prefix)/share ] ; then mkdir \$(exec_prefix)/share ; fi" - echotab "if [ ! -d \$(htmldir) ] ; then mkdir \$(htmldir) ; fi" - echotab "if [ ! -d \$(dvidir) ] ; then mkdir \$(dvidir) ; fi" d51 3 a53 3 echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi" echotab "if [ ! -d \$(lispdocdir) ] ; then mkdir \$(lispdocdir) ; fi" - echotab "if [ ! -d \$(lispdocdir)/doc ] ; then mkdir \$(lispdocdir)/doc ; fi" d56 2 a57 2 echotab "if [ ! -d \$(prefix) ] ; then mkdir \$(prefix) ; fi" @@@@ -3132,17 +3134,10 @@@@ d60 7 a66 5 echotab "if [ ! -d \$(exec_prefix)/share ] ; then mkdir \$(exec_prefix)/share ; fi" - echotab "if [ ! -d \$(htmldir) ] ; then mkdir \$(htmldir) ; fi" - echotab "\$(INSTALL_DATA) clisp.html \$(htmldir)/clisp.html" - if [ $TERMINAL = readline ] ; then - echotab "\$(INSTALL_DATA) clreadline.html \$(htmldir)/clreadline.html" d68 1 a68 1 - echotab "if [ ! -d \$(dvidir) ] ; then mkdir \$(dvidir) ; fi" d70 1 a70 1 - echotab "\$(INSTALL_DATA) clisp.dvi \$(dvidir)/clisp.dvi" d72 3 a74 5 + echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi" + echotab "\$(INSTALL_DATA) clisp.html \$(prefix)/share/doc/clisp/clisp.html" if [ $TERMINAL = readline ] ; then - echotab "\$(INSTALL_DATA) clreadline.dvi \$(dvidir)/clreadline.dvi" + echotab "\$(INSTALL_DATA) clreadline.html \$(prefix)/share/doc/clisp/clreadline.html" d78 8 a85 8 @@@@ -3152,9 +3147,8 @@@@ echotab "if [ ! -d \$(exec_prefix) ] ; then mkdir \$(exec_prefix) ; fi" echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi" echotab "if [ ! -d \$(lispdocdir) ] ; then mkdir \$(lispdocdir) ; fi" - echotab "if [ ! -d \$(lispdocdir)/doc ] ; then mkdir \$(lispdocdir)/doc ; fi" echotab "\$(INSTALL_DATA) \$(READMES) \$(lispdocdir)/" - echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(lispdocdir)/doc/" + echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(lispdocdir)/" d89 1 a89 1 @@@@ -3181,18 +3175,14 @@@@ d93 1 a93 1 - echotab "\$(RM) \$(htmldir)/clisp.html" d95 1 a95 1 - echotab "\$(RM) \$(htmldir)/clreadline.html" d97 1 a97 2 - echotab "\$(RM) \$(dvidir)/clisp.dvi" + echotab "\$(RM) \$(prefix)/share/doc/clisp/clisp.html" d99 2 a100 2 - echotab "\$(RM) \$(dvidir)/clreadline.dvi" + echotab "\$(RM) \$(prefix)/share/doc/clisp/clreadline.html" d104 3 a106 3 echotab "for f in \$(READMES); do \$(RM) \$(lispdocdir)/\$\$f; done" - echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(lispdocdir)/doc/\$\$f; done" + echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(lispdocdir)/\$\$f; done" @ 1.5 log @Add ELF -rpath incantations. @ text @d3 3 a5 3 --- makemake.in.orig Thu Jan 7 16:23:48 1999 +++ makemake.in Wed Jul 21 20:07:38 1999 @@@@ -280,7 +280,7 @@@@ d10 1 a10 1 + X_LIBS='-Wl,-rpath ${X11BASE}/lib @@X_LIBS@@' # either '-L/usr/somewhere/lib -lX11' or '' d14 1 a14 2 @@@@ -1056,6 +1056,9 @@@@ *) ;; d17 1 d19 1 a19 1 + XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC -fpcc-struct-return -Dunix' d21 1 a21 1 d24 11 a34 1 @@@@ -2380,7 +2383,7 @@@@ d43 1 a43 2 @@@@ -2919,7 +2922,7 @@@@ fi d46 3 a48 1 - echotab "if [ ! -d \$(mandir)/html ] ; then mkdir \$(mandir)/html ; fi" d51 8 a58 4 suse | redhat | debian) echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi" @@@@ -2977,10 +2980,10 @@@@ fi d61 10 a70 2 - echotab "if [ ! -d \$(mandir)/html ] ; then mkdir \$(mandir)/html ; fi" - echotab "\$(INSTALL_DATA) clisp.html \$(mandir)/html/clisp.html" d74 1 a74 1 - echotab "\$(INSTALL_DATA) clreadline.html \$(mandir)/html/clreadline.html" d78 13 a90 2 suse | redhat | debian) @@@@ -3016,9 +3019,9 @@@@ d94 5 a98 1 - echotab "\$(RM) \$(mandir)/html/clisp.html" d101 1 a101 1 - echotab "\$(RM) \$(mandir)/html/clreadline.html" d105 7 a111 1 suse | redhat | debian) @ 1.4 log @Make this work with egcs using the compilation notes provided by Sean Doran . Closes PR/6339. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 1998/11/22 19:39:48 tron Exp $ d3 12 a14 3 --- makemake.in.orig Sun Aug 9 21:27:13 1998 +++ makemake.in Sun Sep 6 21:55:57 1998 @@@@ -1034,6 +1034,9 @@@@ d24 1 a24 1 @@@@ -2326,7 +2329,7 @@@@ d33 1 a33 1 @@@@ -2842,7 +2845,7 @@@@ d40 1 a40 1 suse) d42 1 a42 1 @@@@ -2894,10 +2897,10 @@@@ d55 2 a56 2 suse) @@@@ -2931,9 +2934,9 @@@@ d67 1 a67 1 suse) @ 1.3 log @Update for "clisp" to "19980909" supplied by Martin J. Laubach in PR pkg/6471. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 1998/09/06 21:21:54 frueauf Exp $ d10 1 a10 1 + XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC' @ 1.2 log @Add missing rcs id. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- src/makemake.in.orig Sun Aug 9 21:27:13 1998 +++ src/makemake.in Sun Sep 6 21:55:57 1998 @ 1.1 log @New "clisp" package created by Martin J. Laubach: CLISP, a Common Lisp implementation. @ text @d1 2 @