diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-27 18:21:12 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-27 18:21:12 +0000 |
commit | 6e0f5f69c1c7fb5911f7187605c784c6f4b23269 (patch) | |
tree | c49b7e4a3c4303b97f3e704658744c295e440632 /lang/clisp | |
parent | - Update to 2.6 (diff) |
- Add D-Bus and threads support
PR: 140504
Submitted by: "Joseph S. Atkinson" <jsa@wickedmachine.net>
Notes
Notes:
svn path=/head/; revision=244854
Diffstat (limited to 'lang/clisp')
-rw-r--r-- | lang/clisp/Makefile | 17 | ||||
-rw-r--r-- | lang/clisp/pkg-plist | 1 |
2 files changed, 16 insertions, 2 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile index 7170d60f3511..e56d27594407 100644 --- a/lang/clisp/Makefile +++ b/lang/clisp/Makefile @@ -37,6 +37,7 @@ MAKE_JOBS_UNSAFE=yes 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 control module" Off \ FASTCGI "Build FastCGI module" off \ GDBM "Build GNU Database manager module" off \ GTK2 "Build Gtk+2 module" off \ @@ -46,6 +47,7 @@ OPTIONS= BDB "Build Berkeley Database module" off \ PGSQL "Build PostgreSQL database module" off \ RAWSOCK "Build Raw Socket Access module" on \ SVM "Enable Support Vector Machines module" off \ + THREADS "Enable multithreaded (Experimental)" Off \ WILDCARD "Build wildcard matching module" on \ ZLIB "Build ZLib interface module " off @@ -59,8 +61,8 @@ SUB_FILES= pkg-message 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/mit-clx 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,12 @@ RUN_DEPENDS+= svm-predict:${PORTSDIR}/science/libsvm CONFIGURE_ARGS+=--with-module=libsvm .endif +.if defined(WITH_THREADS) +CONFIGURE_ARGS+= --with-threads=POSIX_THREADS \ + LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" +PKGNAMESUFFIX= -threaded +.endif + .if defined(WITH_WILDCARD) CONFIGURE_ARGS+=--with-module=wildcard .endif diff --git a/lang/clisp/pkg-plist b/lang/clisp/pkg-plist index 84f350e12591..d6ff32cdfb71 100644 --- a/lang/clisp/pkg-plist +++ b/lang/clisp/pkg-plist @@ -31,6 +31,7 @@ lib/clisp/full/calls.o %%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 |