From owner-freebsd-ports Thu Feb 21 3:30:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B8D637B419 for ; Thu, 21 Feb 2002 03:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1LBU1L70624; Thu, 21 Feb 2002 03:30:01 -0800 (PST) (envelope-from gnats) Received: from sandcat.dyndns.org (pcwin165.win.tue.nl [131.155.69.121]) by hub.freebsd.org (Postfix) with ESMTP id EBF3937B400; Thu, 21 Feb 2002 03:24:13 -0800 (PST) Received: by sandcat.dyndns.org (Postfix, from userid 1001) id 922E23122; Thu, 21 Feb 2002 12:24:10 +0100 (CET) Message-Id: <20020221112410.922E23122@sandcat.dyndns.org> Date: Thu, 21 Feb 2002 12:24:10 +0100 (CET) From: Stijn Hoop Reply-To: Stijn Hoop To: FreeBSD-gnats-submit@freebsd.org Cc: chuckr@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35177: math/gnuplot missing WITHOUT_X11 option Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35177 >Category: ports >Synopsis: math/gnuplot missing WITHOUT_X11 option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 21 03:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Stijn Hoop >Release: FreeBSD 4.5-RC i386 >Organization: >Environment: System: FreeBSD 4.5-RC #0: Wed Jan 16 04:30:08 CET 2002 >Description: - gnuplot can be installed without X11, however the port is missing support for this. >How-To-Repeat: N/A >Fix: - Apply the following patch, or something like it. diff -urN /usr/ports/math/gnuplot/Makefile gnuplot/Makefile --- /usr/ports/math/gnuplot/Makefile Tue Sep 11 05:19:45 2001 +++ gnuplot/Makefile Thu Feb 21 12:10:33 2002 @@ -16,15 +16,24 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ gd.2:${PORTSDIR}/graphics/gd +.if !defined(WITHOUT_X11) || ${WITHOUT_X11} != "yes" USE_XLIB= yes +.endif + GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/gd" CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ --includedir=${LOCALBASE}/include/ \ --libdir=${LOCALBASE}/lib \ - --with-x --without-linux-vga \ + --without-linux-vga \ --with-gd=${LOCALBASE}/lib \ --with-readline=gnu --with-lasergnu --with-png + +.if defined(WITHOUT_X11) && ${WITHOUT_X11} == "yes" +CONFIGURE_ARGS+= --without-x +.else +CONFIGURE_ARGS+= --with-x +.endif post-install: ${MKDIR} ${PREFIX}/share/doc/gnuplot >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message