pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libdrm libdrm: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48c0d6c1eabe
branches:  trunk
changeset: 375585:48c0d6c1eabe
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Mar 16 20:33:39 2022 +0000

description:
libdrm: fix build on SunOS

diffstat:

 x11/libdrm/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 35021902ca7d -r 48c0d6c1eabe x11/libdrm/Makefile
--- a/x11/libdrm/Makefile       Wed Mar 16 18:39:06 2022 +0000
+++ b/x11/libdrm/Makefile       Wed Mar 16 20:33:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2022/03/13 15:20:01 tnn Exp $
+# $NetBSD: Makefile,v 1.99 2022/03/16 20:33:39 tnn Exp $
 
 DISTNAME=              libdrm-2.4.110
 CATEGORIES=            x11 graphics
@@ -91,6 +91,7 @@
 MESON_ARGS+=   -Dvalgrind=false
 
 LDFLAGS.NetBSD+=       -lpci
+CPPFLAGS.SunOS+=       -D__EXTENSIONS__        # posix_memalign, ...
 
 X11_BUILTIN_NAME?=             libdrm
 .include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"



Home | Main Index | Thread Index | Old Index