From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 4 05:30:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFB3C16A46C for ; Mon, 4 Jun 2007 05:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id D22D613C45E for ; Mon, 4 Jun 2007 05:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l545U53G094196 for ; Mon, 4 Jun 2007 05:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l545U57w094195; Mon, 4 Jun 2007 05:30:05 GMT (envelope-from gnats) Resent-Date: Mon, 4 Jun 2007 05:30:05 GMT Resent-Message-Id: <200706040530.l545U57w094195@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tetsuya Uemura Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 648E516A46E for ; Mon, 4 Jun 2007 05:23:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5631B13C455 for ; Mon, 4 Jun 2007 05:23:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l545N9BM029079 for ; Mon, 4 Jun 2007 05:23:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l545N9NO029077; Mon, 4 Jun 2007 05:23:09 GMT (envelope-from nobody) Message-Id: <200706040523.l545N9NO029077@www.freebsd.org> Date: Mon, 4 Jun 2007 05:23:09 GMT From: Tetsuya Uemura To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/113313: math/gnuplot: Add knob not to depend on teTeX-base X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 05:30:06 -0000 >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 + +.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: