summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-04-02 20:09:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-04-02 20:09:29 +0000
commit4336cf0f445488846239137df738678c607af30c (patch)
tree03dc06eddabd89cd97e81f60a03cfd06050d2b86 /emulators
parent3278149bac0f740015503030006237e1f2ebbb25 (diff)
downloadpkgsrc-4336cf0f445488846239137df738678c607af30c.tar.gz
put identical URI parts in MASTER_SITE_SUSE91 into variables, so it's
easier to add mirrors
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse91_linux/Makefile.common21
1 files changed, 12 insertions, 9 deletions
diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common
index e3c4d1ff927..eaaa304dba2 100644
--- a/emulators/suse91_linux/Makefile.common
+++ b/emulators/suse91_linux/Makefile.common
@@ -1,17 +1,20 @@
-# $NetBSD: Makefile.common,v 1.9 2005/02/09 20:25:13 tv Exp $
+# $NetBSD: Makefile.common,v 1.10 2005/04/02 20:09:29 jdolecek Exp $
SUSE_VERSION= 9.1
.include "../../emulators/suse91_linux/arch.mk"
-MASTER_SITE_SUSE91?= ftp://ftp.suse.com/pub/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
- ftp://ftp.suse.com/pub/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
- ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
- ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
- ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
- ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
- ftp://mirror.mcs.anl.gov/pub/ftp.suse.com/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
- ftp://mirror.mcs.anl.gov/pub/ftp.suse.com/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
+_SUSE_FTP_SUBDIR= suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
+_SUSE_FTP_SUBDIR_UPD= suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
+
+MASTER_SITE_SUSE91?= ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR} \
+ ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR_UPD} \
+ ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR} \
+ ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR_UPD} \
+ ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR} \
+ ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR_UPD} \
+ ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR} \
+ ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR_UPD}
DIST_SUBDIR?= suse${SUSE_VERSION:S/.//}/${SUSE_ARCH}