Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Apr 2002 16:20:40 -0700
From:      Peter Wemm <peter@wemm.org>
To:        obrien@FreeBSD.org
Cc:        Ruslan Ermilov <ru@FreeBSD.org>, 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:  <20020408232040.459C33811@overcee.wemm.org>
In-Reply-To: <20020408144719.B92702@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020408232040.459C33811>