Link libstdc++ to unbreak build of the ports that depend on boehm-gc.

Reported by:	jmallett and kris
This commit is contained in:
MANTANI Nobutaka 2003-05-05 13:42:53 +00:00
parent 741e45ae20
commit 7ac42732bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80180
2 changed files with 13 additions and 4 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= boehm-gc
PORTVERSION= 6.2.a4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
DISTNAME= gc${PORTVERSION:S/.a/alpha/}

View file

@ -1,6 +1,15 @@
--- configure 2002/12/17 10:14:24 1.1
+++ configure 2002/12/17 10:14:32
@@ -7645,6 +7645,7 @@
--- configure.orig Sat Mar 8 09:29:30 2003
+++ configure Mon May 5 21:48:08 2003
@@ -3780,7 +3780,7 @@
esac
if test "${enable_cplusplus}" = yes; then
- addobjs="$addobjs gc_cpp.lo"
+ addobjs="$addobjs gc_cpp.lo -lstdc++"
addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
addtests="$addtests test_cpp"
fi
@@ -8479,6 +8479,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"