diff options
author | peter <peter@FreeBSD.org> | 2002-04-07 02:40:55 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-04-07 02:40:55 +0000 |
commit | 01494340e601da74fdb6beb230e95b0f1ab46358 (patch) | |
tree | 9999cd555f636ae2e64770b82040d228216a5e17 /gnu | |
parent | b5ca094f22d0781991b739b78d213f07d21ba994 (diff) | |
download | FreeBSD-src-01494340e601da74fdb6beb230e95b0f1ab46358.zip FreeBSD-src-01494340e601da74fdb6beb230e95b0f1ab46358.tar.gz |
Add -lstdc++ to the link args for these C++ tools so that they can be
compiled with gcc-3.1. Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++. This
change doesn't harm the current compiler in the tree.
Diffstat (limited to 'gnu')
21 files changed, 43 insertions, 40 deletions
diff --git a/gnu/usr.bin/gperf/Makefile b/gnu/usr.bin/gperf/Makefile index 1d9ccd8..158d85d 100644 --- a/gnu/usr.bin/gperf/Makefile +++ b/gnu/usr.bin/gperf/Makefile @@ -14,4 +14,7 @@ SRCS+= hash.cc getopt.c getopt1.c CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR} +DPADD+= ${LIBSTDCPLUSPLUS} +LDADD+= -lstdc++ + .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/devices/grodvi/Makefile b/gnu/usr.bin/groff/src/devices/grodvi/Makefile index 771bc1e..a44334e 100644 --- a/gnu/usr.bin/groff/src/devices/grodvi/Makefile +++ b/gnu/usr.bin/groff/src/devices/grodvi/Makefile @@ -2,8 +2,8 @@ PROG= grodvi SRCS= dvi.cc -DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} -LDADD= ${LIBDRIVER} ${LIBGROFF} -lm +DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/devices/grohtml/Makefile b/gnu/usr.bin/groff/src/devices/grohtml/Makefile index 6b67f98..411a229 100644 --- a/gnu/usr.bin/groff/src/devices/grohtml/Makefile +++ b/gnu/usr.bin/groff/src/devices/grohtml/Makefile @@ -2,8 +2,8 @@ PROG= post-grohtml SRCS= post-html.cc html-text.cc output.cc -DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} -LDADD= ${LIBDRIVER} ${LIBGROFF} -lm +DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ NOMAN= YES .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/devices/grolbp/Makefile b/gnu/usr.bin/groff/src/devices/grolbp/Makefile index 304e3ad..376305a 100644 --- a/gnu/usr.bin/groff/src/devices/grolbp/Makefile +++ b/gnu/usr.bin/groff/src/devices/grolbp/Makefile @@ -2,8 +2,8 @@ PROG= grolbp SRCS= lbp.cc -DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} -LDADD= ${LIBDRIVER} ${LIBGROFF} -lm +DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/devices/grolj4/Makefile b/gnu/usr.bin/groff/src/devices/grolj4/Makefile index 52a43f8..1d923a3 100644 --- a/gnu/usr.bin/groff/src/devices/grolj4/Makefile +++ b/gnu/usr.bin/groff/src/devices/grolj4/Makefile @@ -2,8 +2,8 @@ PROG= grolj4 SRCS= lj4.cc -DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} -LDADD= ${LIBDRIVER} ${LIBGROFF} -lm +DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/devices/grops/Makefile b/gnu/usr.bin/groff/src/devices/grops/Makefile index 3e8c255..23707b7 100644 --- a/gnu/usr.bin/groff/src/devices/grops/Makefile +++ b/gnu/usr.bin/groff/src/devices/grops/Makefile @@ -2,8 +2,8 @@ PROG= grops SRCS= ps.cc psrm.cc -DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} -LDADD= ${LIBDRIVER} ${LIBGROFF} -lm +DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/devices/grotty/Makefile b/gnu/usr.bin/groff/src/devices/grotty/Makefile index 1c4fd81..f46c64f 100644 --- a/gnu/usr.bin/groff/src/devices/grotty/Makefile +++ b/gnu/usr.bin/groff/src/devices/grotty/Makefile @@ -2,8 +2,8 @@ PROG= grotty SRCS= tty.cc -DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} -LDADD= ${LIBDRIVER} ${LIBGROFF} -lm +DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/preproc/eqn/Makefile b/gnu/usr.bin/groff/src/preproc/eqn/Makefile index 217c305..e2895ab 100644 --- a/gnu/usr.bin/groff/src/preproc/eqn/Makefile +++ b/gnu/usr.bin/groff/src/preproc/eqn/Makefile @@ -5,8 +5,8 @@ SRCS= eqn.cc eqn_tab.h main.cc lex.cc \ box.cc limit.cc list.cc over.cc text.cc \ script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc CFLAGS+= -I${DIST_DIR} -I. -DPADD= ${LIBGROFF} -LDADD= ${LIBGROFF} +DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lstdc++ SCRIPTS= neqn MAN= eqn.1 neqn.1 CLEANFILES= eqn.cc eqn_tab.h ${SCRIPTS} ${MAN} y.tab.c y.tab.h diff --git a/gnu/usr.bin/groff/src/preproc/grn/Makefile b/gnu/usr.bin/groff/src/preproc/grn/Makefile index 8192e8d..6bd1577 100644 --- a/gnu/usr.bin/groff/src/preproc/grn/Makefile +++ b/gnu/usr.bin/groff/src/preproc/grn/Makefile @@ -2,8 +2,8 @@ PROG= grn SRCS= hdb.cc hpoint.cc hgraph.cc main.cc -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/preproc/html/Makefile b/gnu/usr.bin/groff/src/preproc/html/Makefile index 0cf0783..828a8d5 100644 --- a/gnu/usr.bin/groff/src/preproc/html/Makefile +++ b/gnu/usr.bin/groff/src/preproc/html/Makefile @@ -2,8 +2,8 @@ PROG= pre-grohtml SRCS= pre-html.cc pushbackbuffer.cc -DPADD= ${LIBGROFF} -LDADD= ${LIBGROFF} +DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lstdc++ NOMAN= YES .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/preproc/pic/Makefile b/gnu/usr.bin/groff/src/preproc/pic/Makefile index 36a3b7e..3d420dd 100644 --- a/gnu/usr.bin/groff/src/preproc/pic/Makefile +++ b/gnu/usr.bin/groff/src/preproc/pic/Makefile @@ -4,8 +4,8 @@ PROG= pic SRCS= lex.cc main.cc object.cc pic.cc pic_tab.h \ common.cc troff.cc tex.cc CFLAGS+= -I${DIST_DIR} -I. -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} pic.cc pic_tab.h y.tab.c y.tab.h pic_tab.h: pic.cc diff --git a/gnu/usr.bin/groff/src/preproc/refer/Makefile b/gnu/usr.bin/groff/src/preproc/refer/Makefile index ac3799b..2c64462 100644 --- a/gnu/usr.bin/groff/src/preproc/refer/Makefile +++ b/gnu/usr.bin/groff/src/preproc/refer/Makefile @@ -3,8 +3,8 @@ PROG= refer SRCS= command.cc label.cc ref.cc refer.cc token.cc CFLAGS+= -I${DIST_DIR} -DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} -LDADD= ${LIBBIB} ${LIBGROFF} -lm +DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ CLEANFILES= label.cc label_tab.h ${MAN} y.tab.c y.tab.h .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/preproc/tbl/Makefile b/gnu/usr.bin/groff/src/preproc/tbl/Makefile index d625af5..35d725d 100644 --- a/gnu/usr.bin/groff/src/preproc/tbl/Makefile +++ b/gnu/usr.bin/groff/src/preproc/tbl/Makefile @@ -2,8 +2,8 @@ PROG= tbl SRCS= main.cc table.cc -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/roff/groff/Makefile b/gnu/usr.bin/groff/src/roff/groff/Makefile index 97eb904..58fa439 100644 --- a/gnu/usr.bin/groff/src/roff/groff/Makefile +++ b/gnu/usr.bin/groff/src/roff/groff/Makefile @@ -2,8 +2,8 @@ PROG= groff SRCS= groff.cc pipeline.c -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/roff/troff/Makefile b/gnu/usr.bin/groff/src/roff/troff/Makefile index 6ce2b97..37cd4b1 100644 --- a/gnu/usr.bin/groff/src/roff/troff/Makefile +++ b/gnu/usr.bin/groff/src/roff/troff/Makefile @@ -3,8 +3,8 @@ PROG= troff SRCS= env.cc node.cc input.cc div.cc symbol.cc dictionary.cc reg.cc \ number.cc majorminor.cc -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= majorminor.cc ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/utils/addftinfo/Makefile b/gnu/usr.bin/groff/src/utils/addftinfo/Makefile index 44d2b62..1debf3f 100644 --- a/gnu/usr.bin/groff/src/utils/addftinfo/Makefile +++ b/gnu/usr.bin/groff/src/utils/addftinfo/Makefile @@ -2,8 +2,8 @@ PROG= addftinfo SRCS= addftinfo.cc guess.cc -DPADD= ${LIBGROFF} -LDADD= ${LIBGROFF} +DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/utils/hpftodit/Makefile b/gnu/usr.bin/groff/src/utils/hpftodit/Makefile index 7d50e48..2b7d9ac 100644 --- a/gnu/usr.bin/groff/src/utils/hpftodit/Makefile +++ b/gnu/usr.bin/groff/src/utils/hpftodit/Makefile @@ -2,8 +2,8 @@ PROG= hpftodit SRCS= hpftodit.cc -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/utils/indxbib/Makefile b/gnu/usr.bin/groff/src/utils/indxbib/Makefile index 91e0a72..ba0fd18 100644 --- a/gnu/usr.bin/groff/src/utils/indxbib/Makefile +++ b/gnu/usr.bin/groff/src/utils/indxbib/Makefile @@ -2,8 +2,8 @@ PROG= indxbib SRCS= indxbib.cc signal.c -DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} -LDADD= ${LIBBIB} ${LIBGROFF} -lm +DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} beforeinstall: diff --git a/gnu/usr.bin/groff/src/utils/lkbib/Makefile b/gnu/usr.bin/groff/src/utils/lkbib/Makefile index 7d59bf0..18be042 100644 --- a/gnu/usr.bin/groff/src/utils/lkbib/Makefile +++ b/gnu/usr.bin/groff/src/utils/lkbib/Makefile @@ -2,8 +2,8 @@ PROG= lkbib SRCS= lkbib.cc -DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} -LDADD= ${LIBBIB} ${LIBGROFF} -lm +DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/utils/lookbib/Makefile b/gnu/usr.bin/groff/src/utils/lookbib/Makefile index 50fb796..7b010c5 100644 --- a/gnu/usr.bin/groff/src/utils/lookbib/Makefile +++ b/gnu/usr.bin/groff/src/utils/lookbib/Makefile @@ -2,8 +2,8 @@ PROG= lookbib SRCS= lookbib.cc -DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} -LDADD= ${LIBBIB} ${LIBGROFF} -lm +DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile b/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile index 3478871..b242378 100644 --- a/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile +++ b/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile @@ -2,8 +2,8 @@ PROG= tfmtodit SRCS= tfmtodit.cc -DPADD= ${LIBGROFF} ${LIBM} -LDADD= ${LIBGROFF} -lm +DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} +LDADD= ${LIBGROFF} -lm -lstdc++ CLEANFILES= ${MAN} .include <bsd.prog.mk> |