Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 14:47:19 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
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>
In-Reply-To: <20020408083637.GB53790@sunbay.com>; from ru@FreeBSD.org on Mon, Apr 08, 2002 at 11:36:37AM %2B0300
References:  <Pine.BSF.4.44.0204080648390.76282-100000@naos.dbai.tuwien.ac.at> <20020408063937.EAE793810@overcee.wemm.org> <20020408083637.GB53790@sunbay.com>

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




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