fix LIB_DEPEND, so gcc3-c++ will package again.

(only important on gcc2 arches)

OK espie@
This commit is contained in:
phessler 2009-10-15 10:46:02 +00:00
parent 109a7d29ce
commit 5019de00dd
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2009/10/10 22:48:28 jasper Exp $
# $OpenBSD: Makefile,v 1.40 2009/10/15 10:46:02 phessler Exp $
ONLY_FOR_ARCHS= alpha amd64 i386 m68k sparc sparc64 powerpc vax
@ -9,8 +9,8 @@ BOOTSTRAP_GEN = 7
ADASTRAP = adastrap-i386-3.3.6-${BOOTSTRAP_GEN}.tgz
PKGNAME-main= gcc-${FULL_PKGVERSION}p14
PKGNAME-c++ = g++-${FULL_PKGVERSION}p12
PKGNAME-estdc= libstdc++-${FULL_PKGVERSION}p3
PKGNAME-c++ = g++-${FULL_PKGVERSION}p13
PKGNAME-estdc= libstdc++-${FULL_PKGVERSION}p4
PKGNAME-g77= g77-${FULL_PKGVERSION}p11
PKGNAME-java= gcj-${FULL_PKGVERSION}p10
PKGNAME-objc= gobjc-${FULL_PKGVERSION}p12

View File

@ -1,4 +1,4 @@
# $OpenBSD: gcc3.port.mk,v 1.3 2009/05/17 09:39:58 sthen Exp $
# $OpenBSD: gcc3.port.mk,v 1.4 2009/10/15 10:46:02 phessler Exp $
MODGCC3_ARCHES?=
# Supported languages for now
@ -19,7 +19,7 @@ MODGCC3_post-patch+= ln -s ${LOCALBASE}/bin/eg${_MODGCC3CC} ${WRKDIR}/bin/${_MOD
. endif
. if !empty(_MODGCC3CXX:L:M${_j})
BUILD_DEPENDS+= ::lang/gcc/3.3,-c++
LIB_DEPENDS+= estdc++.5:libstdc++->=3.3,<3.4:lang/gcc/3.3,-estdc
LIB_DEPENDS+= estdc++.=6:libstdc++->=3.3,<3.4:lang/gcc/3.3,-estdc
MODGCC3_post-patch+= ln -s ${LOCALBASE}/bin/e${_MODGCC3CXX} ${WRKDIR}/bin/g++;
MODGCC3_post-patch+= ln -s ${LOCALBASE}/bin/e${_MODGCC3CXX} ${WRKDIR}/bin/${_MODGCC3CXX};
. endif