Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2015 23:17:28 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391207 - head/Mk
Message-ID:  <201507022317.t62NHSgT059771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507022317.t62NHSgT059771>