Date: Wed, 18 May 2016 11:28:42 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415433 - head/Mk Message-ID: <201605181128.u4IBSgoh049568@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Wed May 18 11:28:42 2016 New Revision: 415433 URL: https://svnweb.freebsd.org/changeset/ports/415433 Log: Only use the :SOURCE group when it is actually defined. PR: 208916 With hat: portmgr Sponsored by: Absolight Modified: head/Mk/bsd.linux-rpm.mk Modified: head/Mk/bsd.linux-rpm.mk ============================================================================== --- head/Mk/bsd.linux-rpm.mk Wed May 18 11:15:44 2016 (r415432) +++ head/Mk/bsd.linux-rpm.mk Wed May 18 11:28:42 2016 (r415433) @@ -95,6 +95,7 @@ LINUX_RPM_ARCH= i386 MASTER_SITE_SUBDIR= centos/5/os/i386/Packages/ . endif . if defined(PACKAGE_BUILDING) +_SRC_GROUP=:SOURCE MASTER_SITES+= http://vault.centos.org/%SUBDIR%/:SOURCE MASTER_SITE_SUBDIR+= ${LINUX_DIST_VER}/os/Source/SPackages/:SOURCE . endif @@ -112,7 +113,7 @@ DISTVERSION= ${PORTVERSION}-${RPMVERSION DISTNAME?= ${PORTNAME}-${DISTVERSION} DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} BIN_DISTFILES:= ${DISTFILES} ${LIB_DISTFILES} -SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX}:SOURCE +SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX}${_SRC_GROUP} EXTRACT_ONLY?= ${BIN_DISTFILES:C/:[^:]+$//} WRKSRC:= ${WRKSRC:S/-${RPMVERSION}$//}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605181128.u4IBSgoh049568>