From owner-cvs-all Mon Apr 8 16:13:54 2002 Delivered-To: cvs-all@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id D48CA37B416; Mon, 8 Apr 2002 16:13:46 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g38NEfQ17430; Mon, 8 Apr 2002 16:14:41 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 459C33811; Mon, 8 Apr 2002 16:20:40 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: obrien@FreeBSD.org Cc: Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/gperf Makefile src/gnu/usr.bin/groff/src/devices/grodvi Makefile src/gnu/usr.bin/groff/src/devices/grohtml Makefile src/gnu/usr.bin/groff/src/devices/grolbp Makefile sr In-Reply-To: <20020408144719.B92702@dragon.nuxi.com> Date: Mon, 08 Apr 2002 16:20:40 -0700 From: Peter Wemm Message-Id: <20020408232040.459C33811@overcee.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" wrote: > On Mon, Apr 08, 2002 at 11:36:37AM +0300, Ruslan Ermilov wrote: > > OK, how about backing these out and committing this instead? > > > > %%% > > Index: bsd.prog.mk > > =================================================================== > > RCS file: /home/ncvs/src/share/mk/bsd.prog.mk,v > > retrieving revision 1.105 > > diff -u -r1.105 bsd.prog.mk > > --- bsd.prog.mk 7 Apr 2002 14:58:12 -0000 1.105 > > +++ bsd.prog.mk 8 Apr 2002 08:34:58 -0000 > > @@ -32,7 +32,12 @@ > > OBJS+= ${SRCS:N*.h:R:S/$/.o/g} > > > > ${PROG}: ${OBJS} > > +.if ${SRCS:M*.cc} != "" || ${SRCS:M*.C} != "" || ${SRCS:M*.cpp} != "" || \ > > + ${SRCS:M*.cxx} != "" > > + ${CXX} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDDESTDIR} ${LDADD} > > +.else > > ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDDESTDIR} ${LDADD} > > +.endif > > Please commit this as it does improve things. As Peter mentioned it > would be nice to add the libstdc++ dependancy also. But even w/o that, > this patch is a help. No, do what Max Khon suggested. Use PROG_CXX like NetBSD does. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message