ports/140504: Add new module and multithreaded support to lang/clisp
Joseph S. Atkinson
jsa at wickedmachine.net
Thu Nov 12 11:50:02 UTC 2009
>Number: 140504
>Category: ports
>Synopsis: Add new module and multithreaded support to lang/clisp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 12 11:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Joseph S. Atkinson
>Release:
>Organization:
>Environment:
>Description:
Since 2.48, CLISP now has experimental support for multi-threaded operation. USE AT YOUR OWN RISK.
And while I am at it, bring in support for the D-BUS feature that was implemented in 2.47.
Both of these features are Off by default, so no PORTREVISION is needed.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ru /usr/ports/lang/clisp/Makefile clisp/Makefile
--- /usr/ports/lang/clisp/Makefile 2009-11-12 02:08:35.000000000 -0500
+++ clisp/Makefile 2009-11-12 06:34:35.000000000 -0500
@@ -37,6 +37,7 @@
OPTIONS= BDB "Build Berkeley Database module" off \
CLX_MIT "Build X11 module (original MIT version)" off \
CLX_NEW "Build X11 module (new faster version)" off \
+ DBUS "D-BUS integration" Off \
FASTCGI "Build FastCGI module" off \
GDBM "Build GNU Database manager module" off \
GTK2 "Build Gtk+2 module" off \
@@ -46,6 +47,7 @@
PGSQL "Build PostgreSQL database module" off \
RAWSOCK "Build Raw Socket Access module" on \
SVM "Enable Support Vector Machines module" off \
+ THREADS "Enable multithread support (Experimental) Off \
WILDCARD "Build wildcard matching module" on \
ZLIB "Build ZLib interface module " off
@@ -59,8 +61,8 @@
CONFIGURE_ARGS+=--disable-mmap
.endif
-MODULES= BDB CLX_MIT CLX_NEW FASTCGI GDBM GTK2 ORACLE PARI PCRE PGSQL \
- RAWSOCK SVM WILDCARD ZLIB
+MODULES= BDB CLX_MIT CLX_NEW DBUS FASTCGI GDBM GTK2 ORACLE PARI PCRE \
+ PGSQL RAWSOCK SVM WILDCARD ZLIB
.for mod in ${MODULES}
. if defined(WITH_${mod})
@@ -98,6 +100,11 @@
CONFIGURE_ARGS+=--with-module=clx/new-clx
.endif
+.if defined(WITH_DBUS)
+LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
+CONFIGURE_ARGS+=--with-module=dbus
+.endif
+
.if defined(WITH_FASTCGI)
LIB_DEPENDS+= fcgi.0:${PORTSDIR}/www/fcgi
CONFIGURE_ARGS+=--with-module=fastcgi
@@ -145,6 +152,11 @@
CONFIGURE_ARGS+=--with-module=libsvm
.endif
+.if defined(WITH_THREADS)
+CONFIGURE_ARGS+= --with-threads=POSIX_THREADS
+PKGNAMESUFFIX= -threaded
+.endif
+
.if defined(WITH_WILDCARD)
CONFIGURE_ARGS+=--with-module=wildcard
.endif
diff -ru /usr/ports/lang/clisp/pkg-plist clisp/pkg-plist
--- /usr/ports/lang/clisp/pkg-plist 2009-11-12 02:08:35.000000000 -0500
+++ clisp/pkg-plist 2009-11-12 06:26:29.000000000 -0500
@@ -31,6 +31,7 @@
%%CLX_NEW%%lib/clisp/full/clx.o
%%PARI%%lib/clisp/full/cpari.o
%%PCRE%%lib/clisp/full/cpcre.o
+%%DBUS%%lib/clisp/full/dbus.o
%%CLX_MIT%%lib/clisp/full/depdefs.fas
%%CLX_MIT%%lib/clisp/full/depdefs.lisp
%%CLX_MIT%%lib/clisp/full/dependent.fas
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list