diff options
Diffstat (limited to 'cross/h8300-hms-gcc/Makefile')
-rw-r--r-- | cross/h8300-hms-gcc/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/cross/h8300-hms-gcc/Makefile b/cross/h8300-hms-gcc/Makefile index af294bd39e0..d299c4456b4 100644 --- a/cross/h8300-hms-gcc/Makefile +++ b/cross/h8300-hms-gcc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2010/02/14 06:28:07 dholland Exp $ +# $NetBSD: Makefile,v 1.25 2010/02/14 21:30:00 dholland Exp $ DISTNAME= gcc-core-3.1 PKGNAME= cross-h8300-hms-gcc-3.1 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= cross MASTER_SITES= ftp://ftp.gnu.org/gnu/gcc/gcc-3.1/ \ ftp://sources.redhat.com/pub/newlib/ @@ -18,6 +18,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= #empty COMMENT= GCC compiler for h8300-hms +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= cross-h8300-hms-binutils-[0-9]*:../../cross/h8300-hms-binutils H8300_PREFIX= ${LOCALBASE}/libexec/cross-h8300-hms @@ -34,6 +36,7 @@ CONFIGURE_SCRIPT= ${SRCDIR}/configure SRCDIR= ${WRKDIR}/gcc-3.1 MAKE_ENV+= SHELL=${CONFIG_SHELL} BUILD_TARGET= CFLAGS="-O2 -fomit-frame-pointer" all +INSTALLATION_DIRS+= bin libexec/cross-h8300-hms/h8300-hms/bin INFO_FILES= # PLIST GCC_REQD+= 2.8.0 @@ -45,8 +48,10 @@ 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 ; \ + h8300-hms-gccbug h8300-hms-gcov \ + h8300-hms-c++filt ; do \ + ${LN} -s ../libexec/cross-h8300-hms/bin/"$$f" \ + ${DESTDIR}${PREFIX}/bin/"$$f" || exit 1; \ done .include "../../mk/bsd.pkg.mk" |