summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2006-04-07 15:09:06 +0000
committerhubertf <hubertf@pkgsrc.org>2006-04-07 15:09:06 +0000
commite86d4c9530e43089a20967175015be6340e44ecf (patch)
tree46742b6fac9b1a0a2bb9dfa7f34ffa8750ed1cc0 /cross
parent3c2683b5e7d28625743c649f49383b9573b97b9f (diff)
downloadpkgsrc-e86d4c9530e43089a20967175015be6340e44ecf.tar.gz
enable building of c++
Patch by Stephan Thesing <thesing@cs.uni-sb.de> OK'd by $MAINTAINER
Diffstat (limited to 'cross')
-rw-r--r--cross/h8300-hms-gcc/Makefile11
-rw-r--r--cross/h8300-hms-gcc/PLIST8
-rw-r--r--cross/h8300-hms-gcc/distinfo5
3 files changed, 18 insertions, 6 deletions
diff --git a/cross/h8300-hms-gcc/Makefile b/cross/h8300-hms-gcc/Makefile
index 5e0d489df49..3a2fb78db58 100644
--- a/cross/h8300-hms-gcc/Makefile
+++ b/cross/h8300-hms-gcc/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.19 2006/03/20 18:15:37 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2006/04/07 15:09:06 hubertf Exp $
DISTNAME= gcc-core-3.1
PKGNAME= cross-h8300-hms-gcc-3.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= cross
MASTER_SITES= ftp://ftp.gnu.org/gnu/gcc/gcc-3.1/ \
ftp://sources.redhat.com/pub/newlib/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} newlib-1.10.0.tar.gz
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${DISTNAME:S/-core-/-g++-/}${EXTRACT_SUFX} \
+ newlib-1.10.0.tar.gz
PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=h8300-hms/}
PATCHFILES= h8300-hms-gcc-3.1-1.patch
@@ -26,7 +28,7 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${H8300_PREFIX:Q}
CONFIGURE_ARGS+= --infodir=${H8300_PREFIX}/gcc
CONFIGURE_ARGS+= --target=h8300-hms
-CONFIGURE_ARGS+= --enable-languages=c
+CONFIGURE_ARGS+= --enable-languages=c,c++
CONFIGURE_ARGS+= --with-newlib
CONFIGURE_SCRIPT= ${SRCDIR}/configure
SRCDIR= ${WRKDIR}/gcc-3.1
@@ -41,6 +43,7 @@ post-extract:
post-install:
for f in h8300-hms-cpp h8300-hms-gcc \
+ h8300-hms-c++ h8300-hms-g++ \
h8300-hms-gccbug h8300-hms-gcov ; do \
${LN} -s ${H8300_PREFIX}/bin/$$f ${PREFIX}/bin/$$f ; \
done
diff --git a/cross/h8300-hms-gcc/PLIST b/cross/h8300-hms-gcc/PLIST
index 294a8df89b8..f5683628b86 100644
--- a/cross/h8300-hms-gcc/PLIST
+++ b/cross/h8300-hms-gcc/PLIST
@@ -1,9 +1,13 @@
-@comment $NetBSD: PLIST,v 1.4 2006/03/20 18:15:37 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/04/07 15:09:06 hubertf Exp $
+bin/h8300-hms-c++
bin/h8300-hms-cpp
+bin/h8300-hms-g++
bin/h8300-hms-gcc
bin/h8300-hms-gccbug
bin/h8300-hms-gcov
+libexec/cross-h8300-hms/bin/h8300-hms-c++
libexec/cross-h8300-hms/bin/h8300-hms-cpp
+libexec/cross-h8300-hms/bin/h8300-hms-g++
libexec/cross-h8300-hms/bin/h8300-hms-gcc
libexec/cross-h8300-hms/bin/h8300-hms-gccbug
libexec/cross-h8300-hms/bin/h8300-hms-gcov
@@ -98,6 +102,7 @@ libexec/cross-h8300-hms/h8300-hms/lib/libg.a
libexec/cross-h8300-hms/h8300-hms/lib/libiberty.a
libexec/cross-h8300-hms/h8300-hms/lib/libm.a
libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/cc1
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/cc1plus
libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/collect2
libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/cpp0
libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300h/int32/libgcc.a
@@ -120,6 +125,7 @@ libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/tradcpp0
libexec/cross-h8300-hms/lib/libiberty.a
libexec/cross-h8300-hms/man/man1/cpp.1
libexec/cross-h8300-hms/man/man1/gcov.1
+libexec/cross-h8300-hms/man/man1/h8300-hms-g++.1
libexec/cross-h8300-hms/man/man1/h8300-hms-gcc.1
libexec/cross-h8300-hms/man/man7/fsf-funding.7
libexec/cross-h8300-hms/man/man7/gfdl.7
diff --git a/cross/h8300-hms-gcc/distinfo b/cross/h8300-hms-gcc/distinfo
index 831b516da30..c4e91a6cf70 100644
--- a/cross/h8300-hms-gcc/distinfo
+++ b/cross/h8300-hms-gcc/distinfo
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 10:16:53 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/04/07 15:09:06 hubertf Exp $
SHA1 (gcc-core-3.1.tar.gz) = e93048803611b5c1e0dd745d81b43d6e34bca026
RMD160 (gcc-core-3.1.tar.gz) = d6fe75142280778c952af0717acfa4a2cc500623
Size (gcc-core-3.1.tar.gz) = 13381094 bytes
+SHA1 (gcc-g++-3.1.tar.gz) = 294cae404a8f66640c04668502778c3e321c9e82
+RMD160 (gcc-g++-3.1.tar.gz) = b4b45f76797bfa41544866c24dcd39dc84074193
+Size (gcc-g++-3.1.tar.gz) = 2461395 bytes
SHA1 (newlib-1.10.0.tar.gz) = ca0747e49623cce37967243928d883247a389207
RMD160 (newlib-1.10.0.tar.gz) = c5cd6ae5d8912848a6c3985fd74a78f4826c92a6
Size (newlib-1.10.0.tar.gz) = 3647395 bytes