Date: Wed, 16 May 2001 00:08:35 -0700 (PDT) From: jabrown@caida.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27373: Update port: lang/clisp Message-ID: <200105160708.AAA48641@stimpy.nlanr.net>
next in thread | raw e-mail | index | archive | help
>Number: 27373 >Category: ports >Synopsis: Update port: lang/clisp -- new clisp version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 16 00:10:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Jeff Brown >Release: FreeBSD 4.1.1-RELEASE i386 >Organization: none >Environment: Just my good ol' 4.1.1-R laptop. >Description: Update CLISP from the 14-month old version, to one released last month. >How-To-Repeat: Commit, install, enjoy! >Fix: diff -uNr /usr/ports/lang/clisp/Makefile clisp/Makefile --- /usr/ports/lang/clisp/Makefile Sat May 13 22:40:46 2000 +++ clisp/Makefile Tue May 15 23:52:15 2001 @@ -6,59 +6,56 @@ # PORTNAME= clisp -PORTVERSION= 2000.03.06 +PORTVERSION= 2.25.1 CATEGORIES= lang -MASTER_SITES= ftp://ftp2.cons.org/pub/lisp/clisp/source/ \ - ftp://ftp.freesoftware.com/pub/lisp/clisp/source/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g} +MASTER_SITES= ftp://clisp.cons.org/pub/lisp/clisp/source/ +DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= jabrown@caida.org USE_BZIP2= yes +GNU_CONFIGURE= yes + +# The build uses INSTALL_* to copy files around, but since the Ports +# INSTALL_* try to set file permissions, using them breaks non-root builds. +# Instead, we'll just fix up permissions in the post-install target, after we +# install the files. +CONFIGURE_ENV+= INSTALL=cp INSTALL_DATA=cp INSTALL_PROGRAM=cp \ + INSTALL_SCRIPT=cp INSTALL_MAN=cp # Build subdirectory -BUILD_DIRNAME=obj +BUILD_DIRNAME=${CONFIGURE_TARGET} -# These came from clisp's "configure" on my system. +# These came from clisp-2.25.1's "configure" on my 4.1.1-R system. MAKEMAKE_ARGS=--prefix=${PREFIX} --with-readline --with-gettext \ --with-dynamic-ffi # The post-install target uses these to fix permissions. DATA_PATHS=${PREFIX}/lib/clisp ${PREFIX}/share/doc/clisp \ ${PREFIX}/share/locale/de/LC_MESSAGES/clisp.mo \ + ${PREFIX}/share/locale/de/LC_MESSAGES/clisplow.mo \ ${PREFIX}/share/locale/en/LC_MESSAGES/clisp.mo \ + ${PREFIX}/share/locale/en/LC_MESSAGES/clisplow.mo \ ${PREFIX}/share/locale/es/LC_MESSAGES/clisp.mo \ + ${PREFIX}/share/locale/es/LC_MESSAGES/clisplow.mo \ ${PREFIX}/share/locale/fr/LC_MESSAGES/clisp.mo \ - ${PREFIX}/share/locale/nl/LC_MESSAGES/clisp.mo + ${PREFIX}/share/locale/fr/LC_MESSAGES/clisplow.mo \ + ${PREFIX}/share/locale/nl/LC_MESSAGES/clisp.mo \ + ${PREFIX}/share/locale/nl/LC_MESSAGES/clisplow.mo PROG_PATHS=${PREFIX}/bin/clisp MAN_PATHS=${PREFIX}/man/man1/clisp.1 ${PREFIX}/man/man3/clreadline.3 # The source doesn't include a top-level Makefile, so we'll fake one. post-extract: - @cd ${WRKSRC} && \ + cd ${WRKSRC} && \ printf "all install:\n\t@cd ${WRKSRC}/${BUILD_DIRNAME} && \$${MAKE} \$${MAKEFLAGS} \$$@\n" > ${WRKSRC}/Makefile -# It looks like the 'configure' script in the source gets seriously confused -# by the environment it gets from GNU_CONFIGURE=YES, so we'll call it here. -# -# The 'configure' wants the CC environment variable to include CFLAGS; but -# I'll edit it since if CFLAGS includes "-pipe", configure gets stuck reading -# from stdin, using the assembler in gcc 2.7.2.3 -pre-configure: - @cd ${WRKSRC} && \ - ${RM} -rf ${BUILD_DIRNAME} && \ - ${SETENV} CC="${CC} `echo ${CFLAGS} | ${SED} s/-pipe//`" \ - ./configure --prefix=${PREFIX} ${BUILD_DIRNAME} - # The 'configure' script stops short of doing this for us. post-configure: - @cd ${WRKSRC}/${BUILD_DIRNAME} && \ + cd ${WRKSRC}/${BUILD_DIRNAME} && \ ./makemake ${MAKEMAKE_ARGS} > Makefile && \ - make config.lsp + make config.lisp -# The build uses INSTALL_* to copy files around, but since the Ports -# INSTALL_* try to set file permissions, using them breaks non-root builds. -# Instead, we'll just fix up permissions after we install the files. post-install: ${CHOWN} -R ${BINOWN}.${BINGRP} ${PROG_PATHS} ${CHMOD} -R ugo+rX,ugo-w ${PROG_PATHS} diff -uNr /usr/ports/lang/clisp/distinfo clisp/distinfo --- /usr/ports/lang/clisp/distinfo Sun Apr 30 18:44:42 2000 +++ clisp/distinfo Tue May 15 12:20:45 2001 @@ -1 +1 @@ -MD5 (clisp-2000-03-06.tar.bz2) = 1eaf0cd4e3818ff75dd4e4d277a3c010 +MD5 (clisp-2.25.1.tar.bz2) = 3806df44a0e77c63788ad0bb9186f1f6 diff -uNr /usr/ports/lang/clisp/files/patch-aa clisp/files/patch-aa --- /usr/ports/lang/clisp/files/patch-aa Sat Feb 12 18:18:17 2000 +++ clisp/files/patch-aa Tue May 15 13:32:30 2001 @@ -1,6 +1,6 @@ --- src/makemake.in.orig Tue Jul 20 12:03:11 1999 +++ src/makemake.in Sun Feb 6 11:12:23 2000 -@@ -1593,7 +1593,14 @@ +@@ -1619,7 +1619,14 @@ echol "mandir = \$(exec_prefix)${NEXT_}man" echol "htmldir = \$(exec_prefix)${NEXT_}share${NEXT_}html" echol "dvidir = \$(exec_prefix)${NEXT_}share${NEXT_}dvi" diff -uNr /usr/ports/lang/clisp/files/patch-ab clisp/files/patch-ab --- /usr/ports/lang/clisp/files/patch-ab Tue Apr 3 04:31:19 2001 +++ clisp/files/patch-ab Tue May 15 13:35:53 2001 @@ -1,19 +1,20 @@ ---- src/socket.d.orig Fri Jan 14 07:06:05 2000 -+++ src/socket.d Tue Apr 3 03:07:32 2001 -@@ -299,14 +299,14 @@ - { +--- src/socket.d.orig Mon Mar 19 11:13:09 2001 ++++ src/socket.d Tue May 15 13:35:22 2001 +@@ -304,7 +304,7 @@ #ifdef HAVE_INET_PTON #ifdef HAVE_IPV6 -- { var struct sockaddr_in6 inaddr; -+ { var struct sockaddr_in6 inaddr = {0}; - if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0) - { inaddr.sin6_family = AF_INET6; - inaddr.sin6_port = htons(port); - return connector((struct sockaddr *) &inaddr, sizeof(struct sockaddr_in6)); - } } + { +- var struct sockaddr_in6 inaddr; ++ var struct sockaddr_in6 inaddr = {0}; + if (inet_pton(AF_INET6,host,&inaddr.sin6_addr) > 0) { + inaddr.sin6_family = AF_INET6; + inaddr.sin6_port = htons(port); +@@ -313,7 +313,7 @@ + } #endif -- { var struct sockaddr_in inaddr; -+ { var struct sockaddr_in inaddr = {0}; - if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0) - { inaddr.sin_family = AF_INET; - inaddr.sin_port = htons(port); + { +- var struct sockaddr_in inaddr; ++ var struct sockaddr_in inaddr = {0}; + if (inet_pton(AF_INET,host,&inaddr.sin_addr) > 0) { + inaddr.sin_family = AF_INET; + inaddr.sin_port = htons(port); diff -uNr /usr/ports/lang/clisp/pkg-plist clisp/pkg-plist --- /usr/ports/lang/clisp/pkg-plist Sun Apr 30 18:44:43 2000 +++ clisp/pkg-plist Tue May 15 23:33:17 2001 @@ -1,5 +1,4 @@ bin/clisp -lib/clisp/clisp-link lib/clisp/base/libavcall.a lib/clisp/base/libcallback.a lib/clisp/base/libiconv.a @@ -13,7 +12,9 @@ lib/clisp/base/makevars lib/clisp/base/modules.h lib/clisp/base/modules.o +lib/clisp/clisp-link lib/clisp/data/UnicodeData.txt +lib/clisp/data/clhs.txt lib/clisp/full/libavcall.a lib/clisp/full/libcallback.a lib/clisp/full/libiconv.a @@ -52,10 +53,15 @@ share/doc/clisp/doc/impnotes.html share/doc/clisp/doc/readline.dvi share/locale/de/LC_MESSAGES/clisp.mo +share/locale/de/LC_MESSAGES/clisplow.mo share/locale/en/LC_MESSAGES/clisp.mo +share/locale/en/LC_MESSAGES/clisplow.mo share/locale/es/LC_MESSAGES/clisp.mo +share/locale/es/LC_MESSAGES/clisplow.mo share/locale/fr/LC_MESSAGES/clisp.mo +share/locale/fr/LC_MESSAGES/clisplow.mo share/locale/nl/LC_MESSAGES/clisp.mo +share/locale/nl/LC_MESSAGES/clisplow.mo @dirrm share/doc/clisp/doc @dirrm share/doc/clisp @dirrm lib/clisp/base >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105160708.AAA48641>