aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-07-31 06:34:30 +0800
committersat <sat@FreeBSD.org>2006-07-31 06:34:30 +0800
commitbb1c53aeeb8216da2e81667d55afce5bb7127be8 (patch)
treee8f2fe513c5f709ef709ba487d838d4987c7ec1d /Mk
parent83eeee0cafdba0fdfd05f4e89059a3f125ada5b7 (diff)
downloadfreebsd-ports-graphics-bb1c53aeeb8216da2e81667d55afce5bb7127be8.tar.gz
freebsd-ports-graphics-bb1c53aeeb8216da2e81667d55afce5bb7127be8.tar.zst
freebsd-ports-graphics-bb1c53aeeb8216da2e81667d55afce5bb7127be8.zip
- Only set default m_s_subdir if master_sites was undefined
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.linux-rpm.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.linux-rpm.mk b/Mk/bsd.linux-rpm.mk
index 94d4ca67f1a..03a7edbf98d 100644
--- a/Mk/bsd.linux-rpm.mk
+++ b/Mk/bsd.linux-rpm.mk
@@ -1,7 +1,7 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.8 2006-07-13 12:35:12 bsam Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.9 2006-07-30 22:34:30 sat Exp $
#
# Variables:
@@ -65,11 +65,13 @@ LINUX_DIST_VER?= 3
DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER}
. if ${LINUX_DIST} == "fedora"
+. ifndef MASTER_SITES
MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX}
MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \
updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH}
MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \
updates/${LINUX_DIST_VER}/SRPMS
+. endif
. else
IGNORE= unknown LINUX_DIST in port Makefile
. endif