pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-intel xf86-video-intel: Use PKG_HAVE_TI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4b0dfbb41c4
branches:  trunk
changeset: 769175:a4b0dfbb41c4
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 09 11:06:08 2021 +0000

description:
xf86-video-intel: Use PKG_HAVE_TIMERFD.

diffstat:

 x11/xf86-video-intel/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 221c68c5b504 -r a4b0dfbb41c4 x11/xf86-video-intel/Makefile
--- a/x11/xf86-video-intel/Makefile     Tue Nov 09 11:05:07 2021 +0000
+++ b/x11/xf86-video-intel/Makefile     Tue Nov 09 11:06:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2021/11/02 08:20:27 nia Exp $
+# $NetBSD: Makefile,v 1.47 2021/11/09 11:06:08 nia Exp $
 
 PKGNAME=       xf86-video-intel-2.99.917.20200515
 COMMIT_ID=     5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc
@@ -28,8 +28,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 PLIST_VARS+=   virtual
-.if (${OPSYS} == "Linux") || \
-    (${OPSYS} == "NetBSD" && exists(/usr/include/sys/timerfd.h))
+.if defined(PKG_HAVE_TIMERFD)
 PLIST.virtual= yes
 .endif
 



Home | Main Index | Thread Index | Old Index