summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authoragc <agc>2004-01-20 12:07:06 +0000
committeragc <agc>2004-01-20 12:07:06 +0000
commit0bc53217fe50327f0f59e7136db15f92f75951d9 (patch)
tree28fc431efa48feea798736cefee933a6529a5c91 /cross
parent4ef418cfdcfbcc2f20fac9453fb8f2e2d95bf05a (diff)
downloadpkgsrc-0bc53217fe50327f0f59e7136db15f92f75951d9.tar.gz
Move WRKSRC definition away from the first paragraph in a Makefile.
Diffstat (limited to 'cross')
-rw-r--r--cross/bfd-crunchide/Makefile4
-rw-r--r--cross/bfd-mdsetimage/Makefile4
-rw-r--r--cross/h8300-hms-binutils/Makefile4
-rw-r--r--cross/h8300-hms-gcc/Makefile4
-rw-r--r--cross/i386-cygwin32/Makefile4
-rw-r--r--cross/i386-linux/Makefile4
-rw-r--r--cross/i386-mingw32/Makefile4
-rw-r--r--cross/i386-msdosdjgpp/Makefile4
-rw-r--r--cross/icdprog/Makefile5
9 files changed, 19 insertions, 18 deletions
diff --git a/cross/bfd-crunchide/Makefile b/cross/bfd-crunchide/Makefile
index b56bd6ae7d7..ee791c1989a 100644
--- a/cross/bfd-crunchide/Makefile
+++ b/cross/bfd-crunchide/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2003/07/17 21:27:49 grant Exp $
+# $NetBSD: Makefile,v 1.13 2004/01/20 12:10:55 agc Exp $
DISTNAME= bfd-crunchide-1.1
-WRKSRC= ${WRKDIR}
CATEGORIES= cross
MASTER_SITES= # empty
DISTFILES= # empty
@@ -11,6 +10,7 @@ COMMENT= crunchide using libbfd. Used for cross-building distributions
DEPENDS= cross-binutils>=2.9.1.1:../binutils
+WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
diff --git a/cross/bfd-mdsetimage/Makefile b/cross/bfd-mdsetimage/Makefile
index cab930d5f52..9a1e9dd1481 100644
--- a/cross/bfd-mdsetimage/Makefile
+++ b/cross/bfd-mdsetimage/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2003/07/17 21:27:50 grant Exp $
+# $NetBSD: Makefile,v 1.13 2004/01/20 12:10:55 agc Exp $
DISTNAME= bfd-mdsetimage-1.15.1
-WRKSRC= ${WRKDIR}
CATEGORIES= cross
MASTER_SITES= # empty
DISTFILES= # empty
@@ -11,6 +10,7 @@ COMMENT= mdsetimage using libbfd. Used for cross-building distributions
DEPENDS= cross-binutils>=2.9.1.1:../binutils
+WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
diff --git a/cross/h8300-hms-binutils/Makefile b/cross/h8300-hms-binutils/Makefile
index 1f5c9007cc8..1efb9e72962 100644
--- a/cross/h8300-hms-binutils/Makefile
+++ b/cross/h8300-hms-binutils/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/11/05 23:32:11 seb Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/20 12:10:55 agc Exp $
DISTNAME= binutils-2.12.1
PKGNAME= cross-h8300-hms-binutils-2.12.1
-WRKSRC= ${WRKDIR}/objdir
CATEGORIES= cross
MASTER_SITES= ftp://ftp.gnu.org/gnu/binutils/
EXTRACT_SUFX= .tar.bz2
@@ -13,6 +12,7 @@ COMMENT= h8300-hms cross utility
H8300_PREFIX= ${PREFIX}/libexec/cross-h8300-hms
+WRKSRC= ${WRKDIR}/objdir
USE_BUILDLINK2= yes
USE_GMAKE= yes
USE_MAKEINFO= yes
diff --git a/cross/h8300-hms-gcc/Makefile b/cross/h8300-hms-gcc/Makefile
index ef0deb3732f..c42d5e01002 100644
--- a/cross/h8300-hms-gcc/Makefile
+++ b/cross/h8300-hms-gcc/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2003/12/26 13:16:31 seb Exp $
+# $NetBSD: Makefile,v 1.9 2004/01/20 12:10:55 agc Exp $
DISTNAME= gcc-core-3.1
PKGNAME= cross-h8300-hms-gcc-3.1
-WRKSRC= ${WRKDIR}/objdir
CATEGORIES= cross
MASTER_SITES= ftp://ftp.gnu.org/gnu/gcc/gcc-3.1/ \
ftp://sources.redhat.com/pub/newlib/
@@ -20,6 +19,7 @@ DEPENDS+= cross-h8300-hms-binutils-[0-9]*:../../cross/h8300-hms-binutils
H8300_PREFIX= ${LOCALBASE}/libexec/cross-h8300-hms
+WRKSRC= ${WRKDIR}/objdir
USE_BUILDLINK2= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
diff --git a/cross/i386-cygwin32/Makefile b/cross/i386-cygwin32/Makefile
index 6692d0c82d2..5565362675a 100644
--- a/cross/i386-cygwin32/Makefile
+++ b/cross/i386-cygwin32/Makefile
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.9 2003/07/17 21:27:52 grant Exp $
+# $NetBSD: Makefile,v 1.10 2004/01/20 12:10:55 agc Exp $
#
DISTVERSION= 1.0.0.0
DISTFILES= # none
-WRKSRC= ${WRKDIR}/${EGCS_DISTNAME}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= Cross-compile environment for Cywin32/i386
+WRKSRC= ${WRKDIR}/${EGCS_DISTNAME}
USE_CROSS_BINUTILS= yes
BINUTILS_GNUTARGET= pe-i386
BINUTILS_LDEMULATION= i386pe
diff --git a/cross/i386-linux/Makefile b/cross/i386-linux/Makefile
index c701b1e934a..e3a73dd0641 100644
--- a/cross/i386-linux/Makefile
+++ b/cross/i386-linux/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2003/07/17 21:27:53 grant Exp $
+# $NetBSD: Makefile,v 1.18 2004/01/20 12:10:55 agc Exp $
#
-WRKSRC= ${WRKDIR}
DISTVERSION= 2.0.7.1
DISTFILES= ${LINUXDEVEL_FILES}
EXTRACT_ONLY= # none of the RPM files
@@ -14,6 +13,7 @@ BUILD_DEPENDS+= rpm-[0-9]*:../../misc/rpm
CHECK_SHLIBS= no
+WRKSRC= ${WRKDIR}
USE_CROSS_BINUTILS= yes
BINUTILS_GNUTARGET= elf32-i386
BINUTILS_LDEMULATION= elf_i386
diff --git a/cross/i386-mingw32/Makefile b/cross/i386-mingw32/Makefile
index 2a6a4bd2c52..8f693e32057 100644
--- a/cross/i386-mingw32/Makefile
+++ b/cross/i386-mingw32/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2004/01/12 09:46:04 cjep Exp $
+# $NetBSD: Makefile,v 1.16 2004/01/20 12:10:55 agc Exp $
DISTNAME= cross-${TARGET_ARCH}-1.2
PKGREVISION= 3
-WRKSRC= ${WRKDIR} # for the patch target
CROSS_DISTFILES=
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.mingw.org/
@@ -28,6 +27,7 @@ W32_WRKSRC= ${WRKDIR}/w32api-1.2
USE_GMAKE= yes
USE_PERL5= build
+WRKSRC= ${WRKDIR} # for the patch target
AS_FOR_TARGET= ${BINUTILS_WRKSRC}/gas/as-new
AR_FOR_TARGET= ${BINUTILS_WRKSRC}/binutils/ar
NM_FOR_TARGET= ${BINUTILS_WRKSRC}/binutils/nm-new
diff --git a/cross/i386-msdosdjgpp/Makefile b/cross/i386-msdosdjgpp/Makefile
index 705f644674f..54c0820a7be 100644
--- a/cross/i386-msdosdjgpp/Makefile
+++ b/cross/i386-msdosdjgpp/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2003/08/04 21:07:49 jmc Exp $
+# $NetBSD: Makefile,v 1.17 2004/01/20 12:10:55 agc Exp $
#
-WRKSRC= ${WRKDIR}/djgpp
DISTVERSION= 2.02.0
DISTFILES= ${DJGPP_FILES}
EXTRACT_ONLY= # none of the djgpp files
@@ -14,6 +13,7 @@ COMMENT= Cross-compile environment for MS-DOS on 386 and higher
BUILD_DEPENDS= unzip-[0-9]*:../../archivers/unzip
+WRKSRC= ${WRKDIR}/djgpp
USE_CROSS_BINUTILS= yes
BINUTILS_GNUTARGET= coff-go32
BINUTILS_LDEMULATION= i386go32
diff --git a/cross/icdprog/Makefile b/cross/icdprog/Makefile
index 67a02fb503a..08d41190f87 100644
--- a/cross/icdprog/Makefile
+++ b/cross/icdprog/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:27:56 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/20 12:10:56 agc Exp $
DISTNAME= icdprog-0.3
PKGREVISION= 1
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icdprog/}
@@ -10,6 +9,8 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://icdprog.sourceforge.net/
COMMENT= Microchip PIC programer using ICD hardware
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icdprog ${PREFIX}/bin