summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/linux_base-6/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/emulators/linux_base-6/Makefile b/emulators/linux_base-6/Makefile
index 813e2a78fec1..475d1ea4b0bf 100644
--- a/emulators/linux_base-6/Makefile
+++ b/emulators/linux_base-6/Makefile
@@ -9,11 +9,13 @@ PORTNAME= linux_base
PORTVERSION= 6.1
PORTREVISION= 1
CATEGORIES= emulators linux
-MASTER_SITES= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
+MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
+MASTER_SITE_SUBDIR= ${PORTVERSION}/en/os/${MACHINE_ARCH}/RedHat/RPMS
DISTFILES= ${RPM_SET1} ${RPM_LDCONFIG} ${RPM_SET2} \
${RPM_RPM} ${RPM_SET3}
-PATCH_SITES= ${RPM_MIRRORS:S/__DIR__/${UPDDIR}/g}
+PATCH_SITES= ${MASTER_SITE_REDHAT_LINUX}
+PATCH_SITE_SUBDIR= updates/6.2/en/os/${MACHINE_ARCH}
PATCHFILES= ${UPDATES}
MAINTAINER= ports@FreeBSD.org
@@ -30,19 +32,6 @@ NO_MTREE= yes
PLIST= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
-RPM_MIRRORS= \
- ftp://ftp.redhat.com/pub/redhat/__DIR__/ \
- ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/__DIR__/ \
- ftp://ftp.crc.ca/mirrors/by-site/ftp.redhat.com/redhat/__DIR__/ \
- ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
- ftp://mirror.nucba.ac.jp/mirror/redhat/__DIR__/ \
- ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/__DIR__/ \
- ftp://ftp.is.co.za/linux/distributions/redhat/__DIR__/ \
- ftp://mirror.aarnet.edu.au/pub/linux/redhat/__DIR__/
-
-STDDIR= linux/6.1/en/os/${MACHINE_ARCH}/RedHat/RPMS
-UPDDIR= linux/updates/6.2/en/os/${MACHINE_ARCH}
-
.include <bsd.port.pre.mk>
UPDATES= zlib-1.1.3-25.6.${MACHINE_ARCH}.rpm