summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-07-02 23:17:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-07-02 23:17:27 +0000
commitb822a87609a8bc313ad9adf6f2c815fc961a94a7 (patch)
tree8e652f2e131139cc3857c47ef099b4e653e99e5d /Mk
parentAdd devel/elixir-timex, a date/time library for Elixir. (diff)
Remove support for distfiles in cdrom
No cdrom distfiles has been shipped for a while, and it causes issues for users having /cdrom configured in autofs Reported by: glebius Tested by: glebius Approved by: swills Reviewed by: swills Differential Revision: https://reviews.freebsd.org/D2888
Notes
Notes: svn path=/head/; revision=391207
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk17
1 files changed, 0 insertions, 17 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index bd45855e676c..c7c51bb82786 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -148,9 +148,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - If set, prepend the MASTER_SITES setting with this value.
# MASTER_SITE_FREEBSD
# - If set, prepend ${MASTER_SITE_BACKUP} in MASTER_SITES.
-# CD_MOUNTPTS - List of CDROM mountpoints to look for distfiles under.
-# This variable supercedes CD_MOUNTPT, which is
-# obsolete.
#
# Set these if your port should not be built under certain circumstances.
# These are string variables; you should set them to the reason why
@@ -1473,9 +1470,6 @@ EXTRACT_SUFX?= .tar.gz
.endif
.endif
-# Location of mounted CDROM(s) to search for files
-CD_MOUNTPTS?= /cdrom ${CD_MOUNTPT}
-
# Owner and group of the WWW user
WWWOWN?= www
WWWGRP?= www
@@ -2412,17 +2406,6 @@ _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE}
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP}
.endif
-# Search CDROM first if mounted, symlink instead of copy if
-# FETCH_SYMLINK_DISTFILES is set
-.for MOUNTPT in ${CD_MOUNTPTS}
-.if exists(${MOUNTPT}/ports/distfiles)
-_MASTER_SITE_OVERRIDE:= file:${MOUNTPT}/ports/distfiles/${DIST_SUBDIR}/ ${_MASTER_SITE_OVERRIDE}
-.if defined(FETCH_SYMLINK_DISTFILES)
-FETCH_BEFORE_ARGS+= -l
-.endif
-.endif
-.endfor
-
NOFETCHFILES?=
# Organize DISTFILES, PATCHFILES, _MASTER_SITES_ALL, _PATCH_SITES_ALL