ports/126920: port upgrade: ecl 0.9g->0.9l
fulvio ciriaco
oivulf at gmail.com
Thu Aug 28 16:10:02 UTC 2008
>Number: 126920
>Category: ports
>Synopsis: port upgrade: ecl 0.9g->0.9l
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 28 16:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: fulvio ciriaco
>Release: 7.0
>Organization:
>Environment:
>Description:
Enclosed find upgrade for out of date version of ecl 0.9g to 0.9l.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# lang/ecl
# lang/ecl/Makefile
# lang/ecl/distinfo
# lang/ecl/pkg-descr
# lang/ecl/pkg-plist
# lang/ecl/files
# lang/ecl/files/patch-src__doc__Makefile.in
# lang/ecl/files/patch-src__gc__include__private__gcconfig.h
#
echo c - lang/ecl
mkdir -p lang/ecl > /dev/null 2>&1
echo x - lang/ecl/Makefile
sed 's/^X//' >lang/ecl/Makefile << 'END-of-lang/ecl/Makefile'
X# New ports collection makefile for: ecl
X# Date created: 29 Januar 2004
X# Whom: Julian Stecklina
X#
X# $FreeBSD: ports/lang/ecl/Makefile,v 1.18 2008/08/24 00:00:00 fulvio Exp $
X#
X
XPORTNAME= ecl
XPORTVERSION= 0.9l
XPORTREVISION= 0
XCATEGORIES= lang lisp
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ecls
XEXTRACT_SUFX = .tgz
XMAINTAINER= der_julian at web.de
XCOMMENT= An ANSI Common Lisp implementation
X
XLIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 gc.1:${PORTSDIR}/devel/boehm-gc
X
XUSE_GMAKE= yes
XUSE_PERL5_BUILD=yes
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS= --with-system-gmp --enable-boehm=system
XCONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
XCFLAGS= -I${LOCALBASE}/include
XLDFLAGS= -L${LOCALBASE}/lib
X
XOPTIONS= ASDF "Enable ASDF building facility" on \
X CLOS_STREAMS "Enable user defined stream objects" on \
X CLX "Enable X11 interface" off \
X SOCKETS "Enable socket interface" on \
X THREADS "Enable threading support" off
X
XMAN1= ecl.1
X
XUSE_LDCONFIG= yes
XLDCONFIG_DIRS= %%PREFIX%%/lib/ecl
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
XBROKEN= Does not compile on ${ARCH}
X.endif
X
X.if !defined(WITHOUT_ASDF)
XCONFIGURE_ARGS+=--with-asdf=yes
XPLIST_SUB+= ASDF=""
X.else
XCONFIGURE_ARGS+=--with-asdf=no
XPLIST_SUB+= ASDF="@comment "
X.endif
X
X.if !defined(WITHOUT_CLOS_STREAMS)
XCONFIGURE_ARGS+=--with-clos-streams=yes
XPLIST_SUB+= CLOS_STREAMS=""
X.else
XCONFIGURE_ARGS+=--with-clos-streams=no
XPLIST_SUB+= CLOS_STREAMS="@comment "
X.endif
X
X.if defined(WITH_CLX)
XUSE_XORG= x11
XCONFIGURE_ARGS+=--with-clx=yes
X#INFO+= clx
XPLIST_SUB+= CLX=""
X.else
XCONFIGURE_ARGS+=--with-clx=no
XPLIST_SUB+= CLX="@comment "
X.endif
X
X.if !defined(WITHOUT_SOCKETS)
XCONFIGURE_ARGS+=--with-tcp=yes
XPLIST_SUB+= SOCKETS=""
X.else
XCONFIGURE_ARGS+=--with-tcp=no
XPLIST_SUB+= SOCKETS="@comment "
X.endif
X
X.if defined(WITH_THREADS)
XCONFIGURE_ARGS+=--enable-threads=yes
XLDFLAGS+= ${PTHREAD_LIBS}
X.else
XCONFIGURE_ARGS+=--enable-threads=no
X.endif
X
X.if defined(WITH_THREADS)
Xpost-patch:
X @${REINPLACE_CMD} -e 's|_NP[[:>:]]||' \
X ${WRKSRC}/src/c/package.d ${WRKSRC}/src/c/threads.d
X.endif
X
X.include <bsd.port.post.mk>
END-of-lang/ecl/Makefile
echo x - lang/ecl/distinfo
sed 's/^X//' >lang/ecl/distinfo << 'END-of-lang/ecl/distinfo'
XMD5 (ecl-0.9l.tgz) = a2bff84ccd3a4aa76d14ee3a277038df
XSHA256 (ecl-0.9l.tgz) = a50a3289baeb2e1395e3d7f1e563da06c20e2a22ee174516ff4313122f2e7411
XSIZE (ecl-0.9l.tgz) = 4989464
END-of-lang/ecl/distinfo
echo x - lang/ecl/pkg-descr
sed 's/^X//' >lang/ecl/pkg-descr << 'END-of-lang/ecl/pkg-descr'
XECL (Embeddable Common-Lisp) is an interpreter of the Common-Lisp
Xlanguage as described in the X3J13 Ansi specification, featuring CLOS
X(Common-Lisp Object System), conditions, loops, etc, plus a translator
Xto C, which can produce standalone executables.
X
XWWW: http://sourceforge.net/projects/ecls/
END-of-lang/ecl/pkg-descr
echo x - lang/ecl/pkg-plist
sed 's/^X//' >lang/ecl/pkg-plist << 'END-of-lang/ecl/pkg-plist'
Xbin/ecl
Xbin/ecl-config
Xinclude/ecl/bytecodes.h
Xinclude/ecl/config.h
Xinclude/ecl/configpre.h
Xinclude/ecl/cs.h
Xinclude/ecl/ecl-cmp.h
Xinclude/ecl/ecl-inl.h
Xinclude/ecl/ecl.h
Xinclude/ecl/eval.h
Xinclude/ecl/external.h
Xinclude/ecl/internal.h
Xinclude/ecl/number.h
Xinclude/ecl/object.h
Xinclude/ecl/page.h
Xinclude/ecl/stacks.h
Xinclude/ecl/unify.h
Xlib/ecl/BUILD-STAMP
Xlib/ecl/asdf.fas
Xlib/ecl/clx.fas
Xlib/ecl/cmp.fas
Xlib/ecl/defsystem.fas
Xlib/ecl/dpp
Xlib/ecl/ecl_min
Xlib/ecl/help.doc
Xlib/ecl/profile.fas
Xlib/ecl/rt.fas
Xlib/ecl/serve-event.fas
Xlib/ecl/sockets.fas
Xlib/ecl/sysfun.lsp
Xlib/libecl.so
X at dirrm include/ecl
X at dirrm lib/ecl
END-of-lang/ecl/pkg-plist
echo c - lang/ecl/files
mkdir -p lang/ecl/files > /dev/null 2>&1
echo x - lang/ecl/files/patch-src__doc__Makefile.in
sed 's/^X//' >lang/ecl/files/patch-src__doc__Makefile.in << 'END-of-lang/ecl/files/patch-src__doc__Makefile.in'
X--- ./src/doc/Makefile.in.orig Fri Aug 12 13:26:42 2005
X+++ ./src/doc/Makefile.in Sat Jun 24 22:59:42 2006
X@@ -51,10 +51,6 @@
X $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $$k; \
X fi; \
X done
X- $(mkinstalldirs) $(DESTDIR)$(docdir)
X- for i in Copyright LGPL; do \
X- $(INSTALL_DATA) $(top_srcdir)/../$$i $(DESTDIR)$(docdir); \
X- done
X $(mkinstalldirs) $(DESTDIR)$(mandir)/man$(manext)
X $(INSTALL_DATA) ecl.man $(DESTDIR)$(mandir)/man$(manext)/ecl.$(manext)
X flatinstall: all $(HTML_FILES)
X@@ -72,9 +68,6 @@
X $(mkinstalldirs) $(DESTDIR)$(docdir)/ecldev; \
X for i in ecldev/*; do $(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/ecldev/; done; \
X fi
X- for i in Copyright LGPL; do \
X- $(INSTALL_DATA) $(top_srcdir)/../$$i $(DESTDIR)$(docdir); \
X- done
X for i in *.html; do $(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/; done
X
X uninstall:
END-of-lang/ecl/files/patch-src__doc__Makefile.in
echo x - lang/ecl/files/patch-src__gc__include__private__gcconfig.h
sed 's/^X//' >lang/ecl/files/patch-src__gc__include__private__gcconfig.h << 'END-of-lang/ecl/files/patch-src__gc__include__private__gcconfig.h'
X--- src/gc/include/private/gcconfig.h.orig 2007-03-28 09:59:40.000000000 +0200
X+++ src/gc/include/private/gcconfig.h 2008-08-27 16:27:54.000000000 +0200
X@@ -330,10 +330,6 @@
X # define OPENBSD
X # define mach_type_known
X # endif
X-# if defined(FREEBSD) && (defined(i386) || defined(__i386__))
X-# define I386
X-# define mach_type_known
X-# endif
X # if defined(__NetBSD__) && (defined(i386) || defined(__i386__))
X # define I386
X # define mach_type_known
X@@ -342,10 +338,24 @@
X # define X86_64
X # define mach_type_known
X # endif
X-# if defined(FREEBSD) && defined(__sparc__)
X-# define SPARC
X-# define mach_type_known
X-#endif
X+# if defined(FREEBSD)
X+# ifdef __i386__
X+# define I386
X+# define mach_type_known
X+# endif
X+# ifdef __amd64__
X+# define X86_64
X+# define mach_type_known
X+# endif
X+# ifdef __sparc64__
X+# define SPARC
X+# define mach_type_known
X+# endif
X+# ifdef __ia64__
X+# define IA64
X+# define mach_type_known
X+# endif
X+# endif
X # if defined(bsdi) && (defined(i386) || defined(__i386__))
X # define I386
X # define BSDI
X@@ -1017,6 +1027,9 @@
X # ifdef __ELF__
X # define DYNAMIC_LOADING
X # endif
X+# ifndef GC_FREEBSD_THREADS
X+# define MPROTECT_VDB
X+# endif
X extern char etext[];
X extern char edata[];
X extern char end[];
X@@ -2009,6 +2022,23 @@
X # endif
X # ifdef FREEBSD
X # define OS_TYPE "FREEBSD"
X+# define SIG_SUSPEND SIGUSR1
X+# define SIG_THR_RESTART SIGUSR2
X+# define FREEBSD_STACKBOTTOM
X+# ifdef __ELF__
X+# define DYNAMIC_LOADING
X+# endif
X+ extern char etext[];
X+ extern char edata[];
X+ extern char end[];
X+# define NEED_FIND_LIMIT
X+# define DATASTART ((ptr_t)(&etext))
X+# define DATAEND (GC_find_limit (DATASTART, TRUE))
X+# define DATASTART2 ((ptr_t)(&edata))
X+# define DATAEND2 ((ptr_t)(&end))
X+# endif
X+# ifdef FREEBSD
X+# define OS_TYPE "FREEBSD"
X # ifndef GC_FREEBSD_THREADS
X # define MPROTECT_VDB
X # endif
END-of-lang/ecl/files/patch-src__gc__include__private__gcconfig.h
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list