Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2019 17:03:39 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514091 - head/graphics/linux-c7-libdrm
Message-ID:  <201910081703.x98H3dWt026144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Oct  8 17:03:39 2019
New Revision: 514091
URL: https://svnweb.freebsd.org/changeset/ports/514091

Log:
  Update to 2.4.97-2.el7, but only on FreeBSD versions that have
  /compat/linux/sys/dev/char/226:0/device/drm.

Modified:
  head/graphics/linux-c7-libdrm/Makefile
  head/graphics/linux-c7-libdrm/distinfo
  head/graphics/linux-c7-libdrm/pkg-plist.amd64
  head/graphics/linux-c7-libdrm/pkg-plist.i386

Modified: head/graphics/linux-c7-libdrm/Makefile
==============================================================================
--- head/graphics/linux-c7-libdrm/Makefile	Tue Oct  8 16:57:52 2019	(r514090)
+++ head/graphics/linux-c7-libdrm/Makefile	Tue Oct  8 17:03:39 2019	(r514091)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	libdrm
-PORTVERSION=	2.4.91
-DISTVERSIONSUFFIX=	-3.el7
+PORTVERSION=	2.4.97
+DISTVERSIONSUFFIX=	-2.el7
 CATEGORIES=	graphics linux
 
 MAINTAINER=	emulation@FreeBSD.org
@@ -13,10 +13,22 @@ USE_LDCONFIG=	yes
 USE_LINUX=	libpciaccess
 USE_LINUX_RPM=	yes
 
-LINUX_DIST_VER=	7.6.1810
-
 DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
 
 OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1103501 \
+ || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1201501) \
+ || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300048))
+PORTVERSION=	2.4.91
+DISTVERSIONSUFFIX=	-3.el7
+
+LINUX_DIST_VER=	7.6.1810
+
+post-install:
+	${MV} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/README.rst
+.endif
 
 .include <bsd.port.mk>

Modified: head/graphics/linux-c7-libdrm/distinfo
==============================================================================
--- head/graphics/linux-c7-libdrm/distinfo	Tue Oct  8 16:57:52 2019	(r514090)
+++ head/graphics/linux-c7-libdrm/distinfo	Tue Oct  8 17:03:39 2019	(r514091)
@@ -1,7 +1,13 @@
-TIMESTAMP = 1568997321
+TIMESTAMP = 1570552285
 SHA256 (centos/libdrm-2.4.91-3.el7.i686.rpm) = 514827c02a7d799d7b822bcf322c7c7d434a741275e12be7b80179e01789e661
 SIZE (centos/libdrm-2.4.91-3.el7.i686.rpm) = 161956
 SHA256 (centos/libdrm-2.4.91-3.el7.x86_64.rpm) = 4d15a04fe2bdeef64f5dca7a8515d990f3cc9d36f1c5d0352ebe37b784cb4ac5
 SIZE (centos/libdrm-2.4.91-3.el7.x86_64.rpm) = 156840
 SHA256 (centos/libdrm-2.4.91-3.el7.src.rpm) = 5b31a48278520e490a8ec67e061884b1517f4a469b096d87720cee4ca261449a
 SIZE (centos/libdrm-2.4.91-3.el7.src.rpm) = 837026
+SHA256 (centos/libdrm-2.4.97-2.el7.i686.rpm) = c27b6c6faed19a4067ed9b5a730d56d001e7d4f5cec2065ef36ca7a583673a3e
+SIZE (centos/libdrm-2.4.97-2.el7.i686.rpm) = 159500
+SHA256 (centos/libdrm-2.4.97-2.el7.x86_64.rpm) = cc11c6badf5727a5d0d3153df66de9a7f9a5957540beb085dc1915a231adbe7f
+SIZE (centos/libdrm-2.4.97-2.el7.x86_64.rpm) = 154672
+SHA256 (centos/libdrm-2.4.97-2.el7.src.rpm) = a0dc7e39ccae9d9cfd288084813e9173d741ab5eb68825fbcc45b588dbbdddce
+SIZE (centos/libdrm-2.4.97-2.el7.src.rpm) = 857411

Modified: head/graphics/linux-c7-libdrm/pkg-plist.amd64
==============================================================================
--- head/graphics/linux-c7-libdrm/pkg-plist.amd64	Tue Oct  8 16:57:52 2019	(r514090)
+++ head/graphics/linux-c7-libdrm/pkg-plist.amd64	Tue Oct  8 17:03:39 2019	(r514091)
@@ -23,5 +23,5 @@ usr/lib64/libdrm_radeon.so.1
 usr/lib64/libdrm_radeon.so.1.0.1
 usr/lib64/libkms.so.1
 usr/lib64/libkms.so.1.0.0
-%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.rst
 %%DATADIR%%/amdgpu.ids

Modified: head/graphics/linux-c7-libdrm/pkg-plist.i386
==============================================================================
--- head/graphics/linux-c7-libdrm/pkg-plist.i386	Tue Oct  8 16:57:52 2019	(r514090)
+++ head/graphics/linux-c7-libdrm/pkg-plist.i386	Tue Oct  8 17:03:39 2019	(r514091)
@@ -11,5 +11,5 @@ usr/lib/libdrm_radeon.so.1.0.1
 usr/lib/libkms.so.1
 usr/lib/libkms.so.1.0.0
 usr/lib/udev/rules.d/91-drm-modeset.rules
-%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.rst
 %%DATADIR%%/amdgpu.ids



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