summaryrefslogtreecommitdiff
path: root/cross/h8300-hms-binutils/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-30 11:15:29 +0000
committerjlam <jlam@pkgsrc.org>2002-09-30 11:15:29 +0000
commitb4e8368c4df844750d06468ef94e48709d3864bf (patch)
tree5e4554b39c0e1bf03b3d4094703f3199151a170c /cross/h8300-hms-binutils/Makefile
parentd111c27772ea4c164b51927be2eaabaca44a924e (diff)
downloadpkgsrc-b4e8368c4df844750d06468ef94e48709d3864bf.tar.gz
buildlink1 -> buildlink2, and add missing .info files to PLIST
Diffstat (limited to 'cross/h8300-hms-binutils/Makefile')
-rw-r--r--cross/h8300-hms-binutils/Makefile20
1 files changed, 11 insertions, 9 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"