Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2019 19:47:14 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502823 - head/graphics/drm-legacy-kmod
Message-ID:  <201905271947.x4RJlENA076034@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon May 27 19:47:14 2019
New Revision: 502823
URL: https://svnweb.freebsd.org/changeset/ports/502823

Log:
  graphics/drm-legacy-kmod: fix packaging on non-x86
  
  Only x86 platforms use i915kms.
  
  Approved by:	jmd
  Differential Revision:	https://reviews.freebsd.org/D20288

Modified:
  head/graphics/drm-legacy-kmod/Makefile
  head/graphics/drm-legacy-kmod/pkg-plist

Modified: head/graphics/drm-legacy-kmod/Makefile
==============================================================================
--- head/graphics/drm-legacy-kmod/Makefile	Mon May 27 19:43:11 2019	(r502822)
+++ head/graphics/drm-legacy-kmod/Makefile	Mon May 27 19:47:14 2019	(r502823)
@@ -31,6 +31,12 @@ GH_TAGNAME=	12bd551
 
 .include <bsd.port.options.mk>
 
+.if ${ARCH} == amd64 || ${ARCH} == i386
+PLIST_SUB+=	X86=""
+.else
+PLIST_SUB+=	X86="@comment "
+.endif
+
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200080
 IGNORE=		only for 12.0 or higher after removal of base components
 .endif

Modified: head/graphics/drm-legacy-kmod/pkg-plist
==============================================================================
--- head/graphics/drm-legacy-kmod/pkg-plist	Mon May 27 19:43:11 2019	(r502822)
+++ head/graphics/drm-legacy-kmod/pkg-plist	Mon May 27 19:47:14 2019	(r502823)
@@ -1,6 +1,6 @@
 /%%KMODDIR%%/drm.ko
 /%%KMODDIR%%/drm2.ko
-/%%KMODDIR%%/i915kms.ko
+%%X86%%/%%KMODDIR%%/i915kms.ko
 /%%KMODDIR%%/mach64.ko
 /%%KMODDIR%%/mga.ko
 /%%KMODDIR%%/r128.ko



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