diff options
Diffstat (limited to 'lang/clisp/options.mk')
-rw-r--r-- | lang/clisp/options.mk | 91 |
1 files changed, 47 insertions, 44 deletions
diff --git a/lang/clisp/options.mk b/lang/clisp/options.mk index 42f959036d5..f01c15527fe 100644 --- a/lang/clisp/options.mk +++ b/lang/clisp/options.mk @@ -1,11 +1,11 @@ -# $NetBSD: options.mk,v 1.3 2008/10/27 18:07:23 tnn Exp $ +# $NetBSD: options.mk,v 1.4 2010/07/09 18:08:05 asau Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.clisp # this option is essential for some others to work: PKG_SUPPORTED_OPTIONS+= ffcall -PKG_SUPPORTED_OPTIONS+= pgsql gdbm bdb pcre rawsock pari fastcgi wildcard gtk2 zlib +PKG_SUPPORTED_OPTIONS+= bdb pari wildcard PKG_SUPPORTED_OPTIONS+= readline PKG_OPTIONS_OPTIONAL_GROUPS= x11-bindings @@ -13,7 +13,7 @@ PKG_OPTIONS_GROUP.x11-bindings= mit-clx new-clx PKG_SUPPORTED_OPTIONS+= gmalloc -PKG_SUGGESTED_OPTIONS+= ffcall pcre rawsock readline zlib +PKG_SUGGESTED_OPTIONS+= ffcall readline # CLISP doesn't work with jemalloc: .if ${OPSYS} == "NetBSD" @@ -37,26 +37,11 @@ PLIST.${option}= yes CONFIGURE_ARGS+= --with-gmalloc .endif -# ffcall is required for other options to work -.if !empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mffcall) -PKG_OPTIONS+= ffcall -.endif - .if !empty(PKG_OPTIONS:Mffcall) CONFIGURE_ARGS+= --with-dynamic-ffi . include "../../devel/ffcall/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mpgsql) -CONFIGURE_ARGS+= --with-module=postgresql -. include "../../mk/pgsql.buildlink3.mk" -.endif - -.if !empty(PKG_OPTIONS:Mgdbm) -CONFIGURE_ARGS+= --with-module=gdbm -. include "../../databases/gdbm/buildlink3.mk" -.endif - .if !empty(PKG_OPTIONS:Mbdb) # it requires version 4, not anything older CONFIGURE_ARGS+= --with-module=berkeley-db @@ -64,25 +49,11 @@ BUILDLINK_TRANSFORM+= l:db:db46 . include "../../databases/db46/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mpcre) -CONFIGURE_ARGS+= --with-module=pcre -. include "../../devel/pcre/buildlink3.mk" -.endif - -.if !empty(PKG_OPTIONS:Mrawsock) -CONFIGURE_ARGS+= --with-module=rawsock -.endif - .if !empty(PKG_OPTIONS:Mpari) CONFIGURE_ARGS+= --with-module=pari . include "../../math/pari/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mfastcgi) -CONFIGURE_ARGS+= --with-module=fastcgi -. include "../../www/fcgi/buildlink3.mk" -.endif - .if !empty(PKG_OPTIONS:Mnew-clx) CONFIGURE_ARGS+= --with-module=clx/new-clx . include "../../x11/libX11/buildlink3.mk" @@ -95,24 +66,56 @@ CONFIGURE_ARGS+= --with-module=clx/mit-clx . include "../../x11/libXau/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mgtk2) -CONFIGURE_ARGS+= --with-module=gtk2 -. include "../../devel/libglade/buildlink3.mk" -. include "../../x11/gtk2/buildlink3.mk" -.endif - .if !empty(PKG_OPTIONS:Mwildcard) CONFIGURE_ARGS+= --with-module=wildcard .endif -.if !empty(PKG_OPTIONS:Mzlib) -CONFIGURE_ARGS+= --with-module=zlib -BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2 -.include "../../devel/zlib/buildlink3.mk" -.endif - .if !empty(PKG_OPTIONS:Mreadline) USE_GNU_READLINE= YES CONFIGURE_ARGS+= --with-readline .include "../../devel/readline/buildlink3.mk" .endif + + +# Options for those who wishes to build "static" CLISP: + +# .if !empty(PKG_OPTIONS:Mpgsql) +# CONFIGURE_ARGS+= --with-module=postgresql +# . include "../../mk/pgsql.buildlink3.mk" +# .endif + +# .if !empty(PKG_OPTIONS:Mgdbm) +# CONFIGURE_ARGS+= --with-module=gdbm +# . include "../../databases/gdbm/buildlink3.mk" +# .endif + +# .if !empty(PKG_OPTIONS:Mpcre) +# CONFIGURE_ARGS+= --with-module=pcre +# . include "../../devel/pcre/buildlink3.mk" +# .endif + +# .if !empty(PKG_OPTIONS:Mrawsock) +# CONFIGURE_ARGS+= --with-module=rawsock +# .endif + +# .if !empty(PKG_OPTIONS:Mfastcgi) +# CONFIGURE_ARGS+= --with-module=fastcgi +# . include "../../www/fcgi/buildlink3.mk" +# .endif + +# .if !empty(PKG_OPTIONS:Mgtk2) +# CONFIGURE_ARGS+= --with-module=gtk2 +# . include "../../devel/libglade/buildlink3.mk" +# . include "../../x11/gtk2/buildlink3.mk" +# .endif + +# .if !empty(PKG_OPTIONS:Mzlib) +# CONFIGURE_ARGS+= --with-module=zlib +# BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2 +# .include "../../devel/zlib/buildlink3.mk" +# .endif + +## ffcall is required for some other options to work: +# .if !empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mffcall) +# PKG_OPTIONS+= ffcall +# .endif |