summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorkent <kent>2002-01-24 04:56:30 +0000
committerkent <kent>2002-01-24 04:56:30 +0000
commita77b3186158d73ae749148c31858e6b20638ea63 (patch)
tree70f8cc306b82415f2e7aff3bf34d005ab32a6bea /cross
parentc8da249104d56d96a1e6f5a7efca39ab558a12ff (diff)
downloadpkgsrc-a77b3186158d73ae749148c31858e6b20638ea63.tar.gz
Correct instllation of libstdc++.a.2.10.0.
Define PKGREVISION.
Diffstat (limited to 'cross')
-rw-r--r--cross/i386-mingw32/Makefile12
-rw-r--r--cross/i386-mingw32/PLIST3
2 files changed, 9 insertions, 6 deletions
diff --git a/cross/i386-mingw32/Makefile b/cross/i386-mingw32/Makefile
index 6aa6f8aaa9d..0762e3c20c1 100644
--- a/cross/i386-mingw32/Makefile
+++ b/cross/i386-mingw32/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2002/01/22 14:01:11 kent Exp $
+# $NetBSD: Makefile,v 1.4 2002/01/24 04:56:30 kent Exp $
-DISTNAME= cross-${TARGET_ARCH}-1.2nb1
+DISTNAME= cross-${TARGET_ARCH}-1.2
+PKGREVISION= 2
CROSS_DISTFILES=
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mingw.org/
-COMMENT= Cross-compile environment for Mingw
+COMMENT= Cross-compile environment for MinGW
CATEGORIES+= cross lang
USE_CROSSBASE= yes
@@ -55,10 +56,9 @@ TARGET_CONFIGURE_ENV= CC="${CC_FOR_TARGET}" \
DLLTOOL="${BINUTILS_WRKSRC}/binutils/dlltool" \
WINDRES="${BINUTILS_WRKSRC}/binutils/windres"
-
-
DISTFILES+= ${CROSS_DISTFILES}
+
do-configure: bu-configure gcc-configure
bu-configure:
cd ${BINUTILS_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./configure \
@@ -114,8 +114,10 @@ gcc-install:
install-common install-headers install-libgcc install-driver
@${MKDIR} ${TARGET_DIR}/include/g++-3
@${MKDIR} ${TARGET_DIR}/include/g++-3/std
+ ${INSTALL_DATA_DIR} ${TARGET_DIR}/lib
@cd ${GCC_WRKSRC}/${TARGET_ARCH} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
${MAKE_FLAGS} ${GCC_MAKE_FLAGS} prefix="${TARGET_DIR}" \
+ tooldir="${TARGET_DIR}" \
libsubdir="${PREFIX}/lib/gcc-lib/${TARGET_ARCH}/${GCC_VERSION}" \
install-target-libstdc++
for file in c++ c++filt g++; do \
diff --git a/cross/i386-mingw32/PLIST b/cross/i386-mingw32/PLIST
index c70a95d78f7..d066bbe4188 100644
--- a/cross/i386-mingw32/PLIST
+++ b/cross/i386-mingw32/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2002/01/22 12:16:20 kent Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/01/24 04:56:30 kent Exp $
bin/i386-mingw32-addr2line
bin/i386-mingw32-ar
bin/i386-mingw32-as
@@ -417,6 +417,7 @@ i386-mingw32/lib/libscrnsavw.a
i386-mingw32/lib/libsecur32.a
i386-mingw32/lib/libsetupapi.a
i386-mingw32/lib/libshell32.a
+i386-mingw32/lib/libstdc++.a.2.10.0
i386-mingw32/lib/libsvrapi.a
i386-mingw32/lib/libtapi32.a
i386-mingw32/lib/libth32.a