3.0.3, at least working on i386.
Rename libstdc++ to libestdc++ to avoid confusion with /usr/src
This commit is contained in:
parent
0ad073a081
commit
84763e2c13
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.51 2001/10/31 18:46:28 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.52 2002/01/01 01:21:18 espie Exp $
|
||||
|
||||
# This is a configuration file for egcs
|
||||
|
||||
@ -63,7 +63,7 @@ BUILD_DEPENDS+=:bison-*:devel/bison
|
||||
|
||||
#### fetch section
|
||||
|
||||
V=3.0.2
|
||||
V=3.0.3
|
||||
DIRECTORY=releases/${DISTNAME}/
|
||||
DISTNAME= gcc-$V
|
||||
|
||||
@ -72,7 +72,8 @@ MASTER_SITE_SUBDIR=${LATEST_DATE}
|
||||
|
||||
DIST_SUBDIR=egcs
|
||||
|
||||
DISTFILES= gcc-$V${EXTRACT_SUFX}
|
||||
DISTFILES= gcc-3.0.2${EXTRACT_SUFX}
|
||||
PATCHFILES= gcc-3.0.2-3.0.3.diff.bz2
|
||||
|
||||
SITES=
|
||||
|
||||
@ -137,6 +138,12 @@ MASTER_SITES=${SITES:S/%DATE%/${LATEST_DATE}/}
|
||||
####
|
||||
# Patch section
|
||||
|
||||
pre-patch:
|
||||
cd ${WRKDIR} && mv gcc-3.0.2 gcc-3.0.3
|
||||
|
||||
PATCH_DIST_STRIP=-p1
|
||||
|
||||
|
||||
# get openbsd configuration files where they should be
|
||||
post-patch:
|
||||
# cp -R ${FILESDIR}/config/* ${WRKSRC}
|
||||
|
6
lang/egcs/stable/distinfo
Normal file
6
lang/egcs/stable/distinfo
Normal file
@ -0,0 +1,6 @@
|
||||
MD5 (egcs/gcc-3.0.2-3.0.3.diff.bz2) = cdae9c4748133fa40b4fa74a46ccc6b2
|
||||
MD5 (egcs/gcc-3.0.2.tar.gz) = 129edec1d543d0ca1aeedaf4b49e8d45
|
||||
RMD160 (egcs/gcc-3.0.2-3.0.3.diff.bz2) = e2090db1f1bb891292b803a260f6fa4dc990a5e0
|
||||
RMD160 (egcs/gcc-3.0.2.tar.gz) = c23a18346178173d558a3a8fb6fc45d719550303
|
||||
SHA1 (egcs/gcc-3.0.2-3.0.3.diff.bz2) = a1229454ef0afc14a7f9471a9ea7af5e904b86e3
|
||||
SHA1 (egcs/gcc-3.0.2.tar.gz) = 55d98bf8ac96d10aea7a5965f086ea8b8cf16f7e
|
@ -1,3 +0,0 @@
|
||||
MD5 (egcs/gcc-3.0.2.tar.gz) = 129edec1d543d0ca1aeedaf4b49e8d45
|
||||
RMD160 (egcs/gcc-3.0.2.tar.gz) = c23a18346178173d558a3a8fb6fc45d719550303
|
||||
SHA1 (egcs/gcc-3.0.2.tar.gz) = 55d98bf8ac96d10aea7a5965f086ea8b8cf16f7e
|
7
lang/egcs/stable/patches/patch-gcc_config_openbsd_h
Normal file
7
lang/egcs/stable/patches/patch-gcc_config_openbsd_h
Normal file
@ -0,0 +1,7 @@
|
||||
--- gcc/config/openbsd.h.orig Mon Dec 31 21:02:38 2001
|
||||
+++ gcc/config/openbsd.h Mon Dec 31 21:03:04 2001
|
||||
@@ -311,3 +311,4 @@ do { \
|
||||
as this depends on a few other details as well... */
|
||||
#define HANDLE_SYSV_PRAGMA
|
||||
|
||||
+#define LIBSTDCXX "-lestdc++"
|
20
lang/egcs/stable/patches/patch-libstdc++-v3_src_Makefile_in
Normal file
20
lang/egcs/stable/patches/patch-libstdc++-v3_src_Makefile_in
Normal file
@ -0,0 +1,20 @@
|
||||
--- libstdc++-v3/src/Makefile.in.orig Mon Dec 31 21:04:07 2001
|
||||
+++ libstdc++-v3/src/Makefile.in Mon Dec 31 21:06:05 2001
|
||||
@@ -128,7 +128,7 @@ mkinstalldirs = $(SHELL) $(toplevel_srcd
|
||||
CXX = @glibcpp_CXX@
|
||||
toolexecdir = @glibcpp_toolexecdir@
|
||||
toolexeclibdir = @glibcpp_toolexeclibdir@
|
||||
-toolexeclib_LTLIBRARIES = libstdc++.la
|
||||
+toolexeclib_LTLIBRARIES = libestdc++.la
|
||||
|
||||
# Compile flags that should be constant throughout the build, both for
|
||||
# SUBDIRS and for libstdc++-v3 in general.
|
||||
@@ -320,7 +320,7 @@ distclean-libtool:
|
||||
|
||||
maintainer-clean-libtool:
|
||||
|
||||
-libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
|
||||
+libestdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
|
||||
$(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
|
||||
.cc.o:
|
||||
$(CXXCOMPILE) -c $<
|
19
lang/egcs/stable/patches/patch-ltcf-gcj_sh
Normal file
19
lang/egcs/stable/patches/patch-ltcf-gcj_sh
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-ltcf-gcj_sh,v 1.1 2002/01/01 01:21:18 espie Exp $
|
||||
--- ltcf-gcj.sh.orig Sun Sep 16 15:52:22 2001
|
||||
+++ ltcf-gcj.sh Sun Sep 16 15:55:09 2001
|
||||
@@ -445,10 +445,13 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ remove_lgcc=yes
|
||||
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
|
||||
;;
|
||||
|
||||
os2*)
|
@ -1,2 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared-c++,v 1.2 2001/10/31 18:46:29 espie Exp $
|
||||
lib/libstdc++.so.3.2
|
||||
@comment $OpenBSD: PFRAG.shared-c++,v 1.3 2002/01/01 01:21:18 espie Exp $
|
||||
lib/libestdc++.so.3.2
|
||||
DYNLIBDIR(%B)
|
||||
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-objc,v 1.2 2001/08/22 09:03:04 espie Exp $
|
||||
@comment $OpenBSD: PFRAG.shared-objc,v 1.3 2002/01/01 01:21:18 espie Exp $
|
||||
lib/gcc-lib/${MACHINE_ARCH}-unknown-openbsd${OSREV}/${V}/libobjc.so.1.0
|
||||
|
@ -1,10 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.8 2001/10/31 18:46:29 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.9 2002/01/01 01:21:18 espie Exp $
|
||||
@pkgcfl egcs-*-core
|
||||
@unexec install-info --delete --info-dir=%D/info %D/info/cpp.info
|
||||
@unexec install-info --delete --info-dir=%D/info %D/info/cppinternals.info
|
||||
@unexec install-info --delete --info-dir=%D/info %D/info/gcc.info
|
||||
bin/ecpp
|
||||
bin/eg++
|
||||
bin/egcc
|
||||
bin/egccbug
|
||||
bin/egcov
|
||||
@ -74,6 +73,10 @@ lib/libiberty.a
|
||||
man/man1/cpp.1
|
||||
man/man1/egcc.1
|
||||
man/man1/gcov.1
|
||||
man/man7/fsf-funding.7
|
||||
man/man7/gfdl.7
|
||||
man/man7/gpl.7
|
||||
%%SHARED%%
|
||||
@dirrm lib/gcc-lib/${MACHINE_ARCH}-unknown-openbsd${OSREV}/${V}/include/machine
|
||||
@dirrm lib/gcc-lib/${MACHINE_ARCH}-unknown-openbsd${OSREV}/${V}/include
|
||||
@dirrm lib/gcc-lib/${MACHINE_ARCH}-unknown-openbsd${OSREV}/${V}/fpic
|
||||
|
@ -1,8 +1,9 @@
|
||||
@comment $OpenBSD: PLIST-c++,v 1.4 2001/10/31 18:46:29 espie Exp $
|
||||
@comment $OpenBSD: PLIST-c++,v 1.5 2002/01/01 01:21:18 espie Exp $
|
||||
@pkgcfl egcs-*-c++
|
||||
@pkgcfl gcc-*-c++
|
||||
bin/ec++
|
||||
bin/ec++filt
|
||||
bin/eg++
|
||||
bin/${MACHINE_ARCH}-unknown-openbsd${OSREV}-c++
|
||||
bin/${MACHINE_ARCH}-unknown-openbsd${OSREV}-g++
|
||||
include/g++-v3/algorithm
|
||||
@ -225,16 +226,17 @@ include/g++-v3/typeinfo
|
||||
include/g++-v3/utility
|
||||
include/g++-v3/valarray
|
||||
include/g++-v3/vector
|
||||
lib/fpic/libstdc++.a
|
||||
lib/fpic/libstdc++.la
|
||||
lib/fpic/libestdc++.a
|
||||
lib/fpic/libestdc++.la
|
||||
lib/fpic/libsupc++.a
|
||||
lib/fpic/libsupc++.la
|
||||
lib/gcc-lib/${MACHINE_ARCH}-unknown-openbsd${OSREV}/${V}/cc1plus
|
||||
lib/libstdc++.a
|
||||
lib/libstdc++.la
|
||||
lib/libestdc++.a
|
||||
lib/libestdc++.la
|
||||
lib/libsupc++.a
|
||||
lib/libsupc++.la
|
||||
man/man1/eg++.1
|
||||
%%SHARED%%
|
||||
@dirrm include/g++-v3/${MACHINE_ARCH}-unknown-openbsd${OSREV}/bits
|
||||
@dirrm include/g++-v3/${MACHINE_ARCH}-unknown-openbsd${OSREV}
|
||||
@dirrm include/g++-v3/ext
|
||||
|
Loading…
Reference in New Issue
Block a user