From owner-cvs-all Thu Apr 11 13:59: 0 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 513D837B419; Thu, 11 Apr 2002 13:58:56 -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 g3BKwtYm013918; Thu, 11 Apr 2002 13:58:55 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3BKve5q013907; Thu, 11 Apr 2002 13:57:40 -0700 (PDT) Date: Thu, 11 Apr 2002 13:57:40 -0700 From: "David O'Brien" To: Ruslan Ermilov Cc: Peter Wemm , Marcel Moolenaar , 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: <20020411135740.A13856@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20020410180443.D84993@dragon.nuxi.com> <20020411051528.8663638FD@overcee.wemm.org> <20020411093353.GA42484@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: <20020411093353.GA42484@sunbay.com>; from ru@FreeBSD.org on Thu, Apr 11, 2002 at 12:33:53PM +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 Thu, Apr 11, 2002 at 12:33:53PM +0300, Ruslan Ermilov wrote: > +.if defined(PROG_CXX) > +PROG= ${PROG_CXX} > +DPADD+= ${LIBSTDCPLUSPLUS} > +LDADD+= -lstdc++ > +.endif We really should not be doing this part -- we do not do it for libc. Making too many assumptions about how G++ expects the linking to be is bad. Rather if PROG_GXX is set, 'g++' should be used for linking rather than 'gcc' [as Peter mentioned]. We really should just be letting g++ do its job. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message