diff options
author | asau <asau@pkgsrc.org> | 2013-10-15 16:21:46 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2013-10-15 16:21:46 +0000 |
commit | d4b520d867fec4df2c05d0510da014626499bf83 (patch) | |
tree | 00b9ebcfa58c55fc73761fb221b128ea8a3fa8c1 /lang/clisp | |
parent | 1069260ad59dcd280b22b24ec1d56ec83dafe8e3 (diff) | |
download | pkgsrc-d4b520d867fec4df2c05d0510da014626499bf83.tar.gz |
Give Lisp users an option to build CLISP without PDF documentation.
This lets building CLISP and SBCL without pulling the whole X11 stack in.
Diffstat (limited to 'lang/clisp')
-rw-r--r-- | lang/clisp/Makefile | 4 | ||||
-rw-r--r-- | lang/clisp/PLIST | 6 | ||||
-rw-r--r-- | lang/clisp/options.mk | 13 |
3 files changed, 16 insertions, 7 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile index c4b89ec0f3c..9d343387394 100644 --- a/lang/clisp/Makefile +++ b/lang/clisp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.101 2013/10/10 14:42:20 ryoon Exp $ +# $NetBSD: Makefile,v 1.102 2013/10/15 16:21:46 asau Exp $ # DISTNAME= clisp-2.49 @@ -29,7 +29,7 @@ CONFIGURE_DIRS= . USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes BUILD_DIRS= src -USE_TOOLS+= dvipdf groff +USE_TOOLS+= groff UNLIMIT_RESOURCES= datasize stacksize USE_GNU_CONFIGURE_HOST= NO # work around broken reasoning: "configure --host=..." => cross-building diff --git a/lang/clisp/PLIST b/lang/clisp/PLIST index b0dddceaeef..3dd1b72a943 100644 --- a/lang/clisp/PLIST +++ b/lang/clisp/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.20 2010/07/09 18:08:05 asau Exp $ +@comment $NetBSD: PLIST,v 1.21 2013/10/15 16:21:46 asau Exp $ bin/clisp bin/clisp-link lib/clisp/base/bogomips.o @@ -50,11 +50,11 @@ share/doc/clisp/README.es share/doc/clisp/SUMMARY share/doc/clisp/clisp-link.1 share/doc/clisp/clisp-link.html -share/doc/clisp/clisp-link.pdf +${PLIST.doc}share/doc/clisp/clisp-link.pdf share/doc/clisp/clisp-link.ps share/doc/clisp/clisp.1 share/doc/clisp/clisp.html -share/doc/clisp/clisp.pdf +${PLIST.doc}share/doc/clisp/clisp.pdf share/doc/clisp/clisp.png share/doc/clisp/clisp.ps share/doc/clisp/impnotes.css diff --git a/lang/clisp/options.mk b/lang/clisp/options.mk index 844b4d40e0f..48099029916 100644 --- a/lang/clisp/options.mk +++ b/lang/clisp/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.10 2013/07/15 02:02:23 ryoon Exp $ +# $NetBSD: options.mk,v 1.11 2013/10/15 16:21:46 asau Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.clisp @@ -9,7 +9,9 @@ PKG_SUPPORTED_OPTIONS+= readline PKG_SUPPORTED_OPTIONS+= gmalloc -PKG_SUGGESTED_OPTIONS+= ffcall readline +PKG_SUPPORTED_OPTIONS+= doc + +PKG_SUGGESTED_OPTIONS+= ffcall readline doc # CLISP doesn't work with jemalloc: .if ${OPSYS} == "NetBSD" @@ -43,6 +45,13 @@ CONFIGURE_ARGS+= --with-readline .include "../../devel/readline/buildlink3.mk" .endif +.if !empty(PKG_OPTIONS:Mdoc) +USE_TOOLS+= dvipdf groff +.else +# suppress generation of printable documentation +CONFIGURE_ENV+= PS2PDF= ac_cv_prog_PS2PDF= +.endif + # Options for those who wishes to build "static" CLISP: |