Date: Mon, 4 Jun 2007 05:23:09 GMT From: Tetsuya Uemura<t_uemura@macome.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/113313: math/gnuplot: Add knob not to depend on teTeX-base Message-ID: <200706040523.l545N9NO029077@www.freebsd.org> Resent-Message-ID: <200706040530.l545U57w094195@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113313 >Category: ports >Synopsis: math/gnuplot: Add knob not to depend on teTeX-base >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: Mon Jun 04 05:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Tetsuya Uemura >Release: 6.2-STABLE >Organization: MACOME Corp. >Environment: FreeBSD s2882g3nr.macome.co.jp 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jun 4 11:37:35 JST 2007 uemura@s2882g3nr.macome.co.jp:/usr/obj/usr/src/sys/S2882G3NR amd64 >Description: By default, Gnuplot doesn't require teTeX-base (kpsexpand) at all and the dependency should be controllable via WITH_XXX or WITHOUT_XXX knob. Note that Gnuplot *may* require kpsexpand if --with-kpsexpand argument is given to configure, math/gnuplot always gives it, though it is disabled by Gnuplot default. >How-To-Repeat: By installing math/gnuplot via ports also installs teTeX-base and its dependency. >Fix: Apply the attached patch to add knob WITHOUT_KPSEXPAND which makes math/gnuplot not to depend on print/teTeX-base if defined. Patch attached with submission follows: diff -u3 math/gnuplot.orig/Makefile math/gnuplot/Makefile --- math/gnuplot.orig/Makefile Mon May 21 10:34:04 2007 +++ math/gnuplot/Makefile Mon Jun 4 13:46:25 2007 @@ -17,16 +17,14 @@ GNU_CONFIGURE= yes WANT_WX= yes -CONFIGURE_ARGS+=--with-kpsexpand \ - --with-lasergnu \ +CONFIGURE_ARGS+=--with-lasergnu \ --with-readline=gnu \ --without-linux-vga \ --without-lisp-files \ --without-tutorial -BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base - -OPTIONS= GD "Enable GD support" on \ +OPTIONS= KPSEXPAND "Use kpsexpand to find fonts" on \ + GD "Enable GD support" on \ PDF "Enable PDF support" on \ PLOT "Enable plot support" on \ WX "Enable WX support" off @@ -35,6 +33,11 @@ INFO= gnuplot .include <bsd.port.pre.mk> + +.if !defined(WITHOUT_KPSEXPAND) +BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base +CONFIGURE_ARGS+= --with-kpsexpand +.endif .if !defined(WITHOUT_X11) USE_XLIB= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706040523.l545N9NO029077>