Date: Sat, 23 Feb 2002 14:20:01 -0800 (PST) From: Alan Eldridge <alane@geeksrus.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/35225: maintainer update: print/texinfo: add WITH_TETEX knob Message-ID: <200202232220.g1NMK1r07171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/35225; it has been noted by GNATS. From: Alan Eldridge <alane@geeksrus.net> To: Jean-Marc Zucconi <jmz@FreeBSD.org> Cc: FreeBSD Bugs <freebsd-gnats-submit@FreeBSD.org> Subject: Re: ports/35225: maintainer update: print/texinfo: add WITH_TETEX knob Date: Sat, 23 Feb 2002 17:17:18 -0500 On Sat, Feb 23, 2002 at 11:10:58PM +0100, Jean-Marc Zucconi wrote: >>>>>> Alan Eldridge writes: > > Add WITH_TETEX knob to use teTeX as dependency. jmz was worried about > > existing people who use texinfo with old 'tex' port. > >However knobs are useless if not documented :-) I suggest the >following patch instead: Agreed. I always forget to put spew about knobs in Makefiles. Thanks. Can you commit it for me? Patch copied below for benefit of gnats. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/print/texinfo/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- Makefile 22 Feb 2002 23:34:13 -0000 1.21 +++ Makefile 23 Feb 2002 22:07:58 -0000 @@ -16,8 +16,16 @@ MAINTAINER= ports@geeksrus.net -BUILD_DEPENDS= tex:${PORTSDIR}/print/teTeX -RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX +.if !defined(WITH_TETEX) +TEX_PORT= tex:${PORTSDIR}/print/tex +pre-everything:: + @${ECHO_MSG} 'Use make-flag WITH_TETEX=yes if you want to install with +teTeX' +.else +TEX_PORT= tex:${PORTSDIR}/print/teTeX +.endif + +BUILD_DEPENDS= ${TEX_PORT} +RUN_DEPENDS= ${TEX_PORT} EXTRACT_ONLY= NO_WRKSUBDIR= yes -- Alan Eldridge "Dave's not here, man." 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?200202232220.g1NMK1r07171>