Date: Thu, 21 Feb 2002 12:24:10 +0100 (CET) From: Stijn Hoop <stijn@win.tue.nl> To: FreeBSD-gnats-submit@freebsd.org Cc: chuckr@freebsd.org Subject: ports/35177: math/gnuplot missing WITHOUT_X11 option Message-ID: <20020221112410.922E23122@sandcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020221112410.922E23122>