Date: Thu, 18 Apr 2002 15:37:54 -0500 From: "Mike Loiterman" <mike@ascendency.net> To: <freebsd-questions@FreeBSD.ORG> Subject: RE: WITHOUT_X11 Patch for gnuplot Message-ID: <00ae01c1e718$ee8ddb30$0301a8c0@mike> In-Reply-To: <009101c1e6de$4b0ff630$0301a8c0@mike>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've tried to remove the last line without any luck. Any ideas? Mike Loiterman mike@ascendency.net PGP Key 0xD1B9D18E > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd- > questions@FreeBSD.ORG] On Behalf Of Mike Loiterman > Sent: Thursday, April 18, 2002 8:38 AM > To: freebsd-questions@FreeBSD.ORG > Subject: WITHOUT_X11 Patch for gnuplot > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm trying to build gnuplot without having to build X as well. > According to the article located here > http://www.freebsd.org/cgi/query-pr.cgi?pr=35177 I should be able > to do this. > > When I try to apply the patch listed below I get an error saying > "malformed patch line 30: ${MKDIR} ${PREFIX}/share/doc/gnuplot" > > 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 > > > Thanks. > > Mike Loiterman > mike@ascendency.net > PGP Key 0xD1B9D18E > > > -----BEGIN PGP SIGNATURE----- > Version: PGP 7.0.4 > Comment: Message digitally signed by Mike Loiterman > > iQA/AwUBPL7MQmjZbUnRudGOEQL7jgCgw9PVB/Xsn1/WmZmxXrbm9pgOh/wAoM > mf > u67uolBWel/6fRd9Jlsvxayj > =qLHF > -----END PGP SIGNATURE----- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPL8uoWjZbUnRudGOEQKd/QCeKX4e6+PqwExmpnspdauVjaXQDcUAn2nE ELmm65/702uH6Vf8JQn5huqX =Nw6Q -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ae01c1e718$ee8ddb30$0301a8c0>