From owner-freebsd-ports Sat Feb 23 14:20: 6 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 0CF6237B400 for ; Sat, 23 Feb 2002 14:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1NMK1r07171; Sat, 23 Feb 2002 14:20:01 -0800 (PST) (envelope-from gnats) Date: Sat, 23 Feb 2002 14:20:01 -0800 (PST) Message-Id: <200202232220.g1NMK1r07171@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Alan Eldridge Subject: Re: ports/35225: maintainer update: print/texinfo: add WITH_TETEX knob Reply-To: Alan Eldridge 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 The following reply was made to PR ports/35225; it has been noted by GNATS. From: Alan Eldridge To: Jean-Marc Zucconi Cc: FreeBSD Bugs 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