From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 18 16:20:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81E5816A4CE for ; Mon, 18 Oct 2004 16:20:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5753E43D1D for ; Mon, 18 Oct 2004 16:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9IGKOtV088157 for ; Mon, 18 Oct 2004 16:20:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9IGKOLl088156; Mon, 18 Oct 2004 16:20:24 GMT (envelope-from gnats) Date: Mon, 18 Oct 2004 16:20:24 GMT Message-Id: <200410181620.i9IGKOLl088156@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Fernan Aguero Subject: Re: ports/72827: [patch] math/gnuplot: provide stacked/clustered histograms X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Fernan Aguero List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 16:20:24 -0000 The following reply was made to PR ports/72827; it has been noted by GNATS. From: Fernan Aguero To: FreeBSD-gnats-submit@FreeBSD.org Cc: glewis@FreeBSD.org Subject: Re: ports/72827: [patch] math/gnuplot: provide stacked/clustered histograms Date: Mon, 18 Oct 2004 13:13:15 -0300 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline +----[ FreeBSD GNATS PR Submission (18.Oct.2004 12:09): | | http://www.freebsd.org/cgi/query-pr.cgi?pr=72827 | +----] Regarding the readline issue, I've succesfully built gnuplot with readline functionality in FreeBSD-4.10. I've included --with-readline=gnu by default into CONFIGURE_ARGS and added a LIB_DEPENDS only for OSVERSION < 50018 (I still don't know why the difference between FreeBSD >= 500018 and < 50018, but I assume it should be something significant, since it was included in the original port). Under FreeBSD-4.10, readline-5.0 was built and installed before gnuplot, and the resulting gnuplot was now able to complete commands (for example filenames). A diff between the current Makefile and the one including these changes and the other changes mentioned in this PR (stacked histograms patches) is attached. Fernan -- Fernan Aguero - fernan at iib.unsam.edu.ar Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639 Check http://genoma.unsam.edu.ar/~fernan for more info. --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gnuplot_Makefile.diff" --- /usr/ports/math/gnuplot/Makefile Sat Jul 17 01:11:12 2004 +++ gnuplot/Makefile Mon Oct 18 13:00:46 2004 @@ -7,7 +7,7 @@ PORTNAME= gnuplot PORTVERSION= 4.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,11 +18,21 @@ USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --without-tutorial --without-linux-vga --with-lasergnu +CONFIGURE_ARGS= --without-tutorial --without-linux-vga --with-lasergnu \ + --with-readline=gnu OPTIONS= GD "Enable GD support" on \ PDF "Enable PDF support" on \ - PNG "Enable PNG support" on + PNG "Enable PNG support" on \ + HISTOGRAMS "Enable stacked histograms" off + +.if defined(WITH_HISTOGRAMS) +PATCH_SITES= http://www.bmsc.washington.edu/people/merritt/gnuplot/ +PATCHFILES= datastrings_4.0.patch histograms_4.0.patch +PATCH_DIST_STRIP= -p1 +USE_AUTOCONF_VER= 259 +CONFIGURE_ARGS+= --enable-datastrings --enable-histograms +.endif MAN1= gnuplot.1 lasergnu.1 INFO= gnuplot @@ -39,8 +49,8 @@ .include -.if ${OSVERSION} >= 500018 -CONFIGURE_ARGS+= --with-readline=gnu +.if ${OSVERSION} < 500018 +LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline .endif .if !defined(WITHOUT_X11) --+HP7ph2BbKc20aGI--