svn commit: r391207 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jul 2 23:17:28 UTC 2015
Author: bapt
Date: Thu Jul 2 23:17:27 2015
New Revision: 391207
URL: https://svnweb.freebsd.org/changeset/ports/391207
Log:
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
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Thu Jul 2 23:17:25 2015 (r391206)
+++ head/Mk/bsd.port.mk Thu Jul 2 23:17:27 2015 (r391207)
@@ -148,9 +148,6 @@ FreeBSD_MAINTAINER= portmgr at 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_OVE
_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
More information about the svn-ports-head
mailing list