diff --git a/lang/egcs/stable/Makefile b/lang/egcs/stable/Makefile index dff3db60328..f743911c10b 100644 --- a/lang/egcs/stable/Makefile +++ b/lang/egcs/stable/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.67 2002/09/28 19:19:51 brad Exp $ +# $OpenBSD: Makefile,v 1.68 2002/09/30 20:52:45 naddy Exp $ ONLY_FOR_ARCHS= alpha i386 m68k sparc sparc64 powerpc @@ -20,6 +20,7 @@ MAKE_ADA=No COM= 'GNU compiler collection' COMMENT= ${COM}: core C compiler COMMENT-c++ = ${COM}: C++ compiler +COMMENT-estdc= ${COM}: C++ compiler library COMMENT-chill= ${COM}: Chill compiler COMMENT-g77= ${COM}: f77 compiler COMMENT-java= ${COM}: java compiler @@ -28,6 +29,7 @@ COMMENT-ada= ${COM}: Ada compiler PKGNAME= gcc-$V PKGNAME-c++ = g++-$V +PKGNAME-estdc = libestdc-$V PKGNAME-chill= gchill-$V PKGNAME-g77= g77-$V PKGNAME-java= gcj-$V @@ -40,7 +42,6 @@ BUILD_DEPENDS= ::devel/autoconf BUILD_DEPENDS+= :bison-*:devel/bison CATEGORIES= lang -NEED_VERSION= 1.474 MAINTAINER= Marc Espie @@ -177,7 +178,7 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/gcc LANGS=c .if defined(MAKE_GXX) && ${MAKE_GXX:L} == "yes" LANGS:=${LANGS},c++ -MULTI_PACKAGES+=-c++ +MULTI_PACKAGES+=-c++ -estdc .endif .if defined(MAKE_FORTRAN) && ${MAKE_FORTRAN:L} == "yes" LANGS:=${LANGS},f77 @@ -288,7 +289,7 @@ post-install: REGRESS_DEPENDS+=::lang/egcs/stable .if defined(MAKE_GXX) && ${MAKE_GXX:L} == "yes" -REGRESS_DEPENDS+=::lang/egcs/stable,-c++ +REGRESS_DEPENDS+=::lang/egcs/stable,-c++,-estdc .endif .if defined(MAKE_FORTRAN) && ${MAKE_FORTRAN:L} == "yes" REGRESS_DEPENDS+=::lang/egcs/stable,-g77 @@ -324,9 +325,12 @@ SED_PLIST=|sed -e '/^IFPIC:/d' GCC_NAME=${WRKBUILD}/gcc/xgcc .if defined(PACKAGING) && defined(SUBPACKAGE) -. if !empty(SUBPACKAGE) +. if !empty(SUBPACKAGE) && ${SUBPACKAGE} != "-estdc" RUN_DEPENDS+=::lang/egcs/stable . endif +. if ${SUBPACKAGE} == "-c++" +RUN_DEPENDS+=::lang/egcs/stable,-estdc +. endif .endif CONFIG=${MACHINE_ARCH}-unknown-openbsd${OSREV} diff --git a/lang/egcs/stable/pkg/PFRAG.shared-c++ b/lang/egcs/stable/pkg/PFRAG.shared-c++ deleted file mode 100644 index 58773eaeef2..00000000000 --- a/lang/egcs/stable/pkg/PFRAG.shared-c++ +++ /dev/null @@ -1,2 +0,0 @@ -@comment $OpenBSD: PFRAG.shared-c++,v 1.5 2002/09/14 10:14:51 espie Exp $ -lib/libestdc++.so.5.0 diff --git a/lang/egcs/stable/pkg/PFRAG.shared-estdc b/lang/egcs/stable/pkg/PFRAG.shared-estdc new file mode 100644 index 00000000000..062d6806c31 --- /dev/null +++ b/lang/egcs/stable/pkg/PFRAG.shared-estdc @@ -0,0 +1 @@ +lib/libestdc++.so.5.0 diff --git a/lang/egcs/stable/pkg/PLIST-c++ b/lang/egcs/stable/pkg/PLIST-c++ index d6774993c36..0c732417ccd 100644 --- a/lang/egcs/stable/pkg/PLIST-c++ +++ b/lang/egcs/stable/pkg/PLIST-c++ @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST-c++,v 1.9 2002/09/14 10:14:51 espie Exp $ +@comment $OpenBSD: PLIST-c++,v 1.10 2002/09/30 20:52:45 naddy Exp $ @pkgcfl egcs-*-core bin/ec++ bin/ec++filt @@ -200,7 +200,6 @@ lib/libestdc++.la lib/libsupc++.a lib/libsupc++.la man/man1/eg++.1 -%%SHARED%% @dirrm include/c++/${V}/${CONFIG}/bits @dirrm include/c++/${V}/${CONFIG} @dirrm include/c++/${V}/ext diff --git a/lang/egcs/stable/pkg/PLIST-estdc b/lang/egcs/stable/pkg/PLIST-estdc new file mode 100644 index 00000000000..b3a04fa1fab --- /dev/null +++ b/lang/egcs/stable/pkg/PLIST-estdc @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST-estdc,v 1.1 2002/09/30 20:52:45 naddy Exp $ +%%SHARED%%