summaryrefslogtreecommitdiff
path: root/cross/h8300-hms-gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cross/h8300-hms-gcc/Makefile')
-rw-r--r--cross/h8300-hms-gcc/Makefile11
1 files changed, 7 insertions, 4 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