tech-pkg archive

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

(MesaLib and defaults/mk.conf) Re: pkgsrc NetBSD 5.2/i386 2013-06-23 00:46



I am testing with  attached change.

| To: pkgsrc-bulk%NetBSD.org@localhost
| From: Krister Walfridsson <krister.walfridsson%gmail.com@localhost>
| Subject: pkgsrc NetBSD 5.2/i386 2013-06-23 00:46
| Date: Tue, 25 Jun 2013 19:30:59 +0200 (CEST)
| Message-ID: <Pine.NEB.4.64.1306251929480.7009%gateway.kwa@localhost>
> NetBSD 5.2/i386
> Compiler: gcc

> Package                               Breaks Maintainer
> -------------------------------------------------------------------------
> graphics/MesaLib                        2112 pkgsrc-users%NetBSD.org@localhost

---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: mk/defaults/mk.conf
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mk/defaults/mk.conf,v
retrieving revision 1.224
diff -u -u -r1.224 mk.conf
--- mk/defaults/mk.conf 14 Jun 2013 22:24:01 -0000      1.224
+++ mk/defaults/mk.conf 26 Jun 2013 03:05:47 -0000
@@ -194,7 +194,11 @@
 # Possible: yes, no
 # Default: no
 
-.if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
+.if (!empty(MACHINE_PLATFORM:MNetBSD-5*-*) && \
+       exists(/usr/X11R7/lib/libX11.so))
+# X11R7 installed NetBSD/5.x
+PREFER_PKGSRC?=                glproto dri2proto
+.elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/X11R7/lib/libX11.so))
 PREFER_PKGSRC?=
 .elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \


Home | Main Index | Thread Index | Old Index