diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-11-10 16:33:08 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-11-10 16:33:08 +0000 |
commit | f7a49531d50661e8611a03bb1cec5726fb4fa221 (patch) | |
tree | f1c6a2456546038a89bcd4dcf11c9eb9993f2a8e /lang | |
parent | SKK-like Kana-to-Kanji FrontEnd Processor (diff) |
fix for 3.0 ELF
Submitted by: Alec Wolman <wolman@cs.washington.edu>
Notes
Notes:
svn path=/head/; revision=14453
Diffstat (limited to 'lang')
-rw-r--r-- | lang/glibstdc++28/Makefile | 17 | ||||
-rw-r--r-- | lang/glibstdc++28/pkg-descr | 2 | ||||
-rw-r--r-- | lang/glibstdc++28/pkg-plist | 4 |
3 files changed, 14 insertions, 9 deletions
diff --git a/lang/glibstdc++28/Makefile b/lang/glibstdc++28/Makefile index f8d08ff80d64..684ab0f0ee09 100644 --- a/lang/glibstdc++28/Makefile +++ b/lang/glibstdc++28/Makefile @@ -1,10 +1,10 @@ # ex:ts=8 # Ports collection makefile for: GNU libstdc++ -# Version required: 2.8.0 +# Version required: 2.8.1.1 # Date created: 03 Mar 1998 # Whom: David O'Brien <obrien@NUXI.com> # -# $Id: Makefile,v 1.10 1998/08/17 17:03:31 obrien Exp $ +# $Id: Makefile,v 1.11 1998/10/12 15:04:35 jseger Exp $ # DISTNAME= libstdc++-2.8.1.1 @@ -21,12 +21,17 @@ RUN_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \ CC= gcc28 CXX= g++28 -GCC28DIR= lib/gcc-lib/i386-unknown-freebsd${OSREL}/2.8.1 +ARE_WE_ELF!= text -x /usr/bin/objformat && /usr/bin/objformat || echo aout +.if ${ARE_WE_ELF} == "elf" +GNUHOST= i386-unknown-freebsdelf${OSREL} +.else +GNUHOST= i386-unknown-freebsd${OSREL} +.endif +GCC28DIR= lib/gcc-lib/${GNUHOST}/2.8.1 +CONFIGURE_ARGS= --host=${GNUHOST} GNU_CONFIGURE= yes USE_GMAKE= yes -PLIST_SUB= GCC28SUBDIR=${GCC28DIR} - -BROKEN_ELF= depends on gcc28 +PLIST_SUB= GCC28SUBDIR=${GCC28DIR} GNUHOST=${GNUHOST} pre-install: @# allow a boched ``make install'' to be re-tried diff --git a/lang/glibstdc++28/pkg-descr b/lang/glibstdc++28/pkg-descr index 2f738591c1f1..02838b07dd86 100644 --- a/lang/glibstdc++28/pkg-descr +++ b/lang/glibstdc++28/pkg-descr @@ -1,4 +1,4 @@ -This is the ISO Standard C++ library (includes the STL) for G++ 2.8.0, +This is the ISO Standard C++ library (includes the STL) for G++ 2.8.x, the latest release of the GNU C++ compiler suite. It is a port for now, until its stableness is proven. diff --git a/lang/glibstdc++28/pkg-plist b/lang/glibstdc++28/pkg-plist index 929054ed4a41..062170cfb387 100644 --- a/lang/glibstdc++28/pkg-plist +++ b/lang/glibstdc++28/pkg-plist @@ -136,7 +136,7 @@ %%GCC28SUBDIR%%/include/g++/tree.h %%GCC28SUBDIR%%/include/g++/type_traits.h %%GCC28SUBDIR%%/include/g++/vector.h -i386-unknown-freebsd%%OSREL%%/include/_G_config.h -i386-unknown-freebsd%%OSREL%%/lib/libiberty.a +%%GNUHOST%%/include/_G_config.h +%%GNUHOST%%/lib/libiberty.a @dirrm %%GCC28SUBDIR%%/include/g++/std @dirrm %%GCC28SUBDIR%%/include/g++ |