pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/h8300-hms-gcc enable building of c++



details:   https://anonhg.NetBSD.org/pkgsrc/rev/065f70936b7d
branches:  trunk
changeset: 510983:065f70936b7d
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Fri Apr 07 15:09:06 2006 +0000

description:
enable building of c++
Patch by Stephan Thesing <thesing%cs.uni-sb.de@localhost>
OK'd by $MAINTAINER

diffstat:

 cross/h8300-hms-gcc/Makefile |  11 +++++++----
 cross/h8300-hms-gcc/PLIST    |   8 +++++++-
 cross/h8300-hms-gcc/distinfo |   5 ++++-
 3 files changed, 18 insertions(+), 6 deletions(-)

diffs (88 lines):

diff -r b1e44d35fb9d -r 065f70936b7d cross/h8300-hms-gcc/Makefile
--- a/cross/h8300-hms-gcc/Makefile      Fri Apr 07 14:58:14 2006 +0000
+++ b/cross/h8300-hms-gcc/Makefile      Fri Apr 07 15:09:06 2006 +0000
@@ -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 @@
 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-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 -r b1e44d35fb9d -r 065f70936b7d cross/h8300-hms-gcc/PLIST
--- a/cross/h8300-hms-gcc/PLIST Fri Apr 07 14:58:14 2006 +0000
+++ b/cross/h8300-hms-gcc/PLIST Fri Apr 07 15:09:06 2006 +0000
@@ -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/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/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 -r b1e44d35fb9d -r 065f70936b7d cross/h8300-hms-gcc/distinfo
--- a/cross/h8300-hms-gcc/distinfo      Fri Apr 07 14:58:14 2006 +0000
+++ b/cross/h8300-hms-gcc/distinfo      Fri Apr 07 15:09:06 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index