1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Fix the usage of MASTERDIR in both the slave and master port as mentioned

in PR: 59254
This commit is contained in:
James E. Housley 2003-11-17 03:15:17 +00:00
parent f9d62b9319
commit baad3bbbdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94145
30 changed files with 78 additions and 37 deletions

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= arm-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= g77
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= arm-rtems
.include "${.CURDIR}/../i386-rtems-g77/Makefile"
MASTERDIR= ${MASTERDIR}/i386-rtems-g77

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= arm
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= objc
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= arm-rtems
.include "${.CURDIR}/../i386-rtems-objc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.13.2.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
@ -21,7 +21,6 @@ COMMENT= FSF binutils-2.13.2.1 base-port for RTEMS development
LCLTARGET?= i386-rtems
BINNAME= binutils-2.13.2.1
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
PKGNAMEPREFIX= ${LCLTARGET}-
@ -51,25 +50,25 @@ INFO= ${LCLTARGET}-as ${LCLTARGET}-bfd ${LCLTARGET}-binutils \
post-patch:
@${REINPLACE_CMD} -e 's|setfilename as.info|setfilename ${LCLTARGET}-as.info|' ${WRKSRC}/gas/doc/as.texinfo
@${REINPLACE_CMD} -e 's|(as)|(${LCLTARGET}-as)|' ${WRKSRC}/gas/doc/as.texinfo
@${REINPLACE_CMD} -e 's|(as)|(${LCLTARGET}-as)|' ${WRKSRC}/gas/doc/as.texinfo
@${REINPLACE_CMD} -e 's|@file{as}|@file{${LCLTARGET}-as}|' ${WRKSRC}/gas/doc/as.texinfo
@${REINPLACE_CMD} -e 's|as.info|${LCLTARGET}-as.info|' ${WRKSRC}/gas/doc/Makefile.in
@${REINPLACE_CMD} -e 's|as.texinfo|${LCLTARGET}-as.texinfo|' ${WRKSRC}/gas/doc/Makefile.in
@${MV} ${WRKSRC}/gas/doc/as.texinfo ${WRKSRC}/gas/doc/${LCLTARGET}-as.texinfo
@${REINPLACE_CMD} -e 's|setfilename bfd.info|setfilename ${LCLTARGET}-bfd.info|' ${WRKSRC}/bfd/doc/bfd.texinfo
@${REINPLACE_CMD} -e 's|(bfd)|(${LCLTARGET}-bfd)|' ${WRKSRC}/bfd/doc/bfd.texinfo
@${REINPLACE_CMD} -e 's|(bfd)|(${LCLTARGET}-bfd)|' ${WRKSRC}/bfd/doc/bfd.texinfo
@${REINPLACE_CMD} -e 's|@file{bfd}|@file{${LCLTARGET}-bfd}|' ${WRKSRC}/bfd/doc/bfd.texinfo
@${REINPLACE_CMD} -e 's|bfd.info|${LCLTARGET}-bfd.info|' ${WRKSRC}/bfd/doc/Makefile.in
@${REINPLACE_CMD} -e 's|bfd.texinfo|${LCLTARGET}-bfd.texinfo|' ${WRKSRC}/bfd/doc/Makefile.in
@${MV} ${WRKSRC}/bfd/doc/bfd.texinfo ${WRKSRC}/bfd/doc/${LCLTARGET}-bfd.texinfo
@${REINPLACE_CMD} -e 's|setfilename binutils.info|setfilename ${LCLTARGET}-binutils.info|' ${WRKSRC}/binutils/doc/binutils.texi
@${REINPLACE_CMD} -e 's|(binutils)|(${LCLTARGET}-binutils)|' ${WRKSRC}/binutils/doc/binutils.texi
@${REINPLACE_CMD} -e 's|(binutils)|(${LCLTARGET}-binutils)|' ${WRKSRC}/binutils/doc/binutils.texi
@${REINPLACE_CMD} -e 's|@file{binutils}|@file{${LCLTARGET}-binutils}|' ${WRKSRC}/binutils/doc/binutils.texi
@${REINPLACE_CMD} -e 's|binutils.info|${LCLTARGET}-binutils.info|' ${WRKSRC}/binutils/doc/Makefile.in
@${REINPLACE_CMD} -e 's|binutils.texi|${LCLTARGET}-binutils.texi|' ${WRKSRC}/binutils/doc/Makefile.in
@${MV} ${WRKSRC}/binutils/doc/binutils.texi ${WRKSRC}/binutils/doc/${LCLTARGET}-binutils.texi
@${REINPLACE_CMD} -e 's|setfilename ld.info|setfilename ${LCLTARGET}-ld.info|' ${WRKSRC}/ld/ld.texinfo
@${REINPLACE_CMD} -e 's|(ld)|(${LCLTARGET}-ld)|' ${WRKSRC}/ld/ld.texinfo
@${REINPLACE_CMD} -e 's|(ld)|(${LCLTARGET}-ld)|' ${WRKSRC}/ld/ld.texinfo
@${REINPLACE_CMD} -e 's|@file{ld}|@file{${LCLTARGET}-ld}|' ${WRKSRC}/ld/ld.texinfo
@${REINPLACE_CMD} -e 's|ld.info|${LCLTARGET}-ld.info|' ${WRKSRC}/ld/Makefile.in
@${REINPLACE_CMD} -e 's|ld.texinfo|${LCLTARGET}-ld.texinfo|' ${WRKSRC}/ld/Makefile.in

View File

@ -7,7 +7,7 @@
PORTNAME= g77
PORTVERSION= 3.2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
${MASTER_SITE_GNU:S/$/:gcc/}
@ -35,7 +35,6 @@ GCCVERSION= 3.2.3
G77NAME= gcc-${GCCVERSION}
PLIST_SUB+= "GCCVERSION=${GCCVERSION}"
NEWLIBNAME= newlib-1.11.0
MASTERDIR= ${.CURDIR}/../i386-rtems-g77
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
BUILD_DEPENDS= autoheader:${PORTSDIR}/devel/autoconf \

View File

@ -7,7 +7,7 @@
PORTNAME= gcc
PORTVERSION= 3.2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
${MASTER_SITE_GNU:S/$/:gcc/}
@ -36,7 +36,6 @@ GCCVERSION= 3.2.3
GCCNAME= gcc-${GCCVERSION}
PLIST_SUB+= "GCCVERSION=${GCCVERSION}"
NEWLIBNAME= newlib-1.11.0
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
BUILD_DEPENDS= autoheader:${PORTSDIR}/devel/autoconf \
@ -68,7 +67,7 @@ MAKE_FLAGS= LANGUAGES="c c++"
MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH}
MAN1= ${LCLTARGET}-gcc.1 ${LCLTARGET}-g++.1 \
cpp.1 gcov.1
cpp.1 gcov.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= ${LCLTARGET}-cpp ${LCLTARGET}-cppinternals \
${LCLTARGET}-gcc ${LCLTARGET}-gccint
@ -85,7 +84,7 @@ pre-configure:
post-patch:
# Change cpp.info to ${LCLTARGET}-cpp.info
@${REINPLACE_CMD} -e 's|setfilename cpp.info|setfilename ${LCLTARGET}-cpp.info|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(cpp)|(${LCLTARGET}-cpp)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(cpp)|(${LCLTARGET}-cpp)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|@file{cpp}|@file{${LCLTARGET}-cpp}|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|cpp.info|${LCLTARGET}-cpp.info|g' ${WRKSRC}/gcc/Makefile.in
@${REINPLACE_CMD} -e 's|cpp.texi|${LCLTARGET}-cpp.texi|g' ${WRKSRC}/gcc/Makefile.in
@ -94,21 +93,21 @@ post-patch:
@${REINPLACE_CMD} -e 's|,cpp.info,|,${LCLTARGET}-cpp.info,|g' ${WRKSRC}/gcc/doc/extend.texi
# Change cpp.info to ${LCLTARGET}-cpp.info
@${REINPLACE_CMD} -e 's|setfilename cppinternals.info|setfilename ${LCLTARGET}-cppinternals.info|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(cppinternals)|(${LCLTARGET}-cppinternals)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(cppinternals)|(${LCLTARGET}-cppinternals)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|@file{cppinternals}|@file{${LCLTARGET}-cppinternals}|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|cppinternals.info|${LCLTARGET}-cppinternals.info|g' ${WRKSRC}/gcc/Makefile.in
@${REINPLACE_CMD} -e 's|cppinternals.texi|${LCLTARGET}-cppinternals.texi|g' ${WRKSRC}/gcc/Makefile.in
@${MV} ${WRKSRC}/gcc/doc/cppinternals.texi ${WRKSRC}/gcc/doc/${LCLTARGET}-cppinternals.texi
# Change cpp.info to ${LCLTARGET}-cpp.info
@${REINPLACE_CMD} -e 's|setfilename gcc.info|setfilename ${LCLTARGET}-gcc.info|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(gcc)|(${LCLTARGET}-gcc)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(gcc)|(${LCLTARGET}-gcc)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|@file{gcc}|@file{${LCLTARGET}-gcc}|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|gcc.info|${LCLTARGET}-gcc.info|g' ${WRKSRC}/gcc/Makefile.in
@${REINPLACE_CMD} -e 's|gcc.texi|${LCLTARGET}-gcc.texi|g' ${WRKSRC}/gcc/Makefile.in
@${MV} ${WRKSRC}/gcc/doc/gcc.texi ${WRKSRC}/gcc/doc/${LCLTARGET}-gcc.texi
# Change cpp.info to ${LCLTARGET}-cpp.info
@${REINPLACE_CMD} -e 's|setfilename gccint.info|setfilename ${LCLTARGET}-gccint.info|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(gccint)|(${LCLTARGET}-gccint)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|(gccint)|(${LCLTARGET}-gccint)|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|@file{gccint}|@file{${LCLTARGET}-gccint}|g' ${WRKSRC}/gcc/doc/*.texi
@${REINPLACE_CMD} -e 's|gccint.info|${LCLTARGET}-gccint.info|g' ${WRKSRC}/gcc/Makefile.in
@${REINPLACE_CMD} -e 's|gccint.texi|${LCLTARGET}-gccint.texi|g' ${WRKSRC}/gcc/Makefile.in

View File

@ -7,7 +7,7 @@
PORTNAME= objc
PORTVERSION= 3.2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
${MASTER_SITE_GNU:S/$/:gcc/}
@ -35,7 +35,6 @@ GCCVERSION= 3.2.3
OBJCNAME= gcc-${GCCVERSION}
PLIST_SUB+= "GCCVERSION=${GCCVERSION}"
NEWLIBNAME= newlib-1.11.0
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
BUILD_DEPENDS= autoheader:${PORTSDIR}/devel/autoconf \

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= i960-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= i960
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= m68k-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= g77
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= m68k-rtems
.include "${.CURDIR}/../i386-rtems-g77/Makefile"
MASTERDIR= ${MASTERDIR}/i386-rtems-g77

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= m68k
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= objc
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= m68k-rtems
.include "${.CURDIR}/../i386-rtems-objc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= mips-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= g77
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= mips-rtems
.include "${.CURDIR}/../i386-rtems-g77/Makefile"
MASTERDIR= ${MASTERDIR}/i386-rtems-g77

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= mips
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= objc
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= mips-rtems
.include "${.CURDIR}/../i386-rtems-objc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= powerpc-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= g77
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= powerpc-rtems
.include "${.CURDIR}/../i386-rtems-g77/Makefile"
MASTERDIR= ${MASTERDIR}/i386-rtems-g77

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= powerpc
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= objc
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= powerpc-rtems
.include "${.CURDIR}/../i386-rtems-objc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= sh-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= g77
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= sh-rtems
.include "${.CURDIR}/../i386-rtems-g77/Makefile"
MASTERDIR= ${MASTERDIR}/i386-rtems-g77

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= sh
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= objc
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= sh-rtems
.include "${.CURDIR}/../i386-rtems-objc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= binutils
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= sparc-rtems
.include "${.CURDIR}/../i386-rtems-binutils/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= g77
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= sparc-rtems
.include "${.CURDIR}/../i386-rtems-g77/Makefile"
MASTERDIR= ${MASTERDIR}/i386-rtems-g77

View File

@ -11,4 +11,5 @@ MAINTAINER= jeh@FreeBSD.org
RTEMS_ARCH= sparc
.include "${.CURDIR}/../i386-rtems-gcc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-gcc
.include "${MASTERDIR}/Makefile"

View File

@ -10,4 +10,6 @@ PORTNAME= objc
MAINTAINER= jeh@FreeBSD.org
LCLTARGET= sparc-rtems
.include "${.CURDIR}/../i386-rtems-objc/Makefile"
MASTERDIR= ${.CURDIR}/../i386-rtems-objc
.include "${MASTERDIR}/Makefile"