From owner-cvs-all Mon Apr 8 14:48:54 2002 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 2F02537B400; Mon, 8 Apr 2002 14:48:35 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g38LmYYm092881; Mon, 8 Apr 2002 14:48:34 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g38LlJMi092835; Mon, 8 Apr 2002 14:47:19 -0700 (PDT) Date: Mon, 8 Apr 2002 14:47:19 -0700 From: "David O'Brien" To: Ruslan Ermilov Cc: 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 Message-ID: <20020408144719.B92702@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20020408063937.EAE793810@overcee.wemm.org> <20020408083637.GB53790@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020408083637.GB53790@sunbay.com>; from ru@FreeBSD.org on Mon, Apr 08, 2002 at 11:36:37AM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message