summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
Diffstat (limited to 'cross')
-rw-r--r--cross/h8300-hms-binutils/Makefile20
-rw-r--r--cross/h8300-hms-binutils/PLIST21
2 files changed, 31 insertions, 10 deletions
diff --git a/cross/h8300-hms-binutils/Makefile b/cross/h8300-hms-binutils/Makefile
index f89c96d5e84..bf1c8e12d5c 100644
--- a/cross/h8300-hms-binutils/Makefile
+++ b/cross/h8300-hms-binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/06/27 22:24:36 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/30 11:15:29 jlam Exp $
DISTNAME= binutils-2.12.1
PKGNAME= cross-h8300-hms-binutils-2.12.1
@@ -7,14 +7,16 @@ MASTER_SITES= ftp://ftp.gnu.org/gnu/binutils/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= oishi@ims.ac.jp
-HOMEPAGE= #empty
+HOMEPAGE= # empty
COMMENT= h8300-hms cross utility
-INSTALL_SUBDIR= libexec/cross-h8300-hms
+H8300_PREFIX= ${PREFIX}/libexec/cross-h8300-hms
+
+USE_BUILDLINK2= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --prefix=${LOCALBASE}/${INSTALL_SUBDIR}
-CONFIGURE_ARGS+= --infodir=${LOCALBASE}/${INSTALL_SUBDIR}/binutils
+CONFIGURE_ARGS+= --prefix=${H8300_PREFIX}
+CONFIGURE_ARGS+= --infodir=${H8300_PREFIX}/binutils
CONFIGURE_ARGS+= --target=h8300-hms
CONFIGURE_SCRIPT= ${SRCDIR}/configure
SRCDIR= ${WRKDIR}/${DISTNAME}
@@ -25,7 +27,7 @@ post-extract:
${MKDIR} ${WRKSRC}
pre-install:
- ${MKDIR} ${LOCALBASE}/${INSTALL_SUBDIR}
+ ${MKDIR} ${H8300_PREFIX}
post-install:
for f in h8300-hms-size h8300-hms-objdump h8300-hms-ar \
@@ -34,9 +36,9 @@ post-install:
h8300-hms-addr2line h8300-hms-readelf h8300-hms-nm \
h8300-hms-strip h8300-hms-c++filt h8300-hms-as \
h8300-hms-gasp h8300-hms-ld ; do \
- ${LN} -s ../${INSTALL_SUBDIR}/bin/$$f ${LOCALBASE}/bin/$$f ; \
+ ${LN} -s ${H8300_PREFIX}/bin/$$f ${LOCALBASE}/bin/$$f; \
done
- ${MV} ${LOCALBASE}/${INSTALL_SUBDIR}/lib/libiberty.a \
- ${LOCALBASE}/${INSTALL_SUBDIR}/lib/libiberty_binutils.a
+ ${MV} ${H8300_PREFIX}/lib/libiberty.a \
+ ${H8300_PREFIX}/lib/libiberty_binutils.a
.include "../../mk/bsd.pkg.mk"
diff --git a/cross/h8300-hms-binutils/PLIST b/cross/h8300-hms-binutils/PLIST
index d3ab7e75405..c64abe50bc4 100644
--- a/cross/h8300-hms-binutils/PLIST
+++ b/cross/h8300-hms-binutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/27 22:24:37 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/09/30 11:15:29 jlam Exp $
bin/h8300-hms-addr2line
bin/h8300-hms-ar
bin/h8300-hms-as
@@ -34,6 +34,16 @@ libexec/cross-h8300-hms/bin/h8300-hms-strings
libexec/cross-h8300-hms/bin/h8300-hms-strip
libexec/cross-h8300-hms/bin/h8300-hms-sysdump
libexec/cross-h8300-hms/binutils/as.info
+libexec/cross-h8300-hms/binutils/as.info-1
+libexec/cross-h8300-hms/binutils/as.info-10
+libexec/cross-h8300-hms/binutils/as.info-2
+libexec/cross-h8300-hms/binutils/as.info-3
+libexec/cross-h8300-hms/binutils/as.info-4
+libexec/cross-h8300-hms/binutils/as.info-5
+libexec/cross-h8300-hms/binutils/as.info-6
+libexec/cross-h8300-hms/binutils/as.info-7
+libexec/cross-h8300-hms/binutils/as.info-8
+libexec/cross-h8300-hms/binutils/as.info-9
libexec/cross-h8300-hms/binutils/bfd.info
libexec/cross-h8300-hms/binutils/bfd.info-1
libexec/cross-h8300-hms/binutils/bfd.info-2
@@ -45,6 +55,9 @@ libexec/cross-h8300-hms/binutils/bfd.info-7
libexec/cross-h8300-hms/binutils/bfd.info-8
libexec/cross-h8300-hms/binutils/bfd.info-9
libexec/cross-h8300-hms/binutils/binutils.info
+libexec/cross-h8300-hms/binutils/binutils.info-1
+libexec/cross-h8300-hms/binutils/binutils.info-2
+libexec/cross-h8300-hms/binutils/binutils.info-3
libexec/cross-h8300-hms/binutils/configure.info
libexec/cross-h8300-hms/binutils/configure.info-1
libexec/cross-h8300-hms/binutils/configure.info-2
@@ -52,6 +65,12 @@ libexec/cross-h8300-hms/binutils/configure.info-3
libexec/cross-h8300-hms/binutils/dir
libexec/cross-h8300-hms/binutils/gasp.info
libexec/cross-h8300-hms/binutils/ld.info
+libexec/cross-h8300-hms/binutils/ld.info-1
+libexec/cross-h8300-hms/binutils/ld.info-2
+libexec/cross-h8300-hms/binutils/ld.info-3
+libexec/cross-h8300-hms/binutils/ld.info-4
+libexec/cross-h8300-hms/binutils/ld.info-5
+libexec/cross-h8300-hms/binutils/ld.info-6
libexec/cross-h8300-hms/binutils/standards.info
libexec/cross-h8300-hms/h8300-hms/bin/ar
libexec/cross-h8300-hms/h8300-hms/bin/as