tech-pkg archive

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

(native) xrandr libXrandr randproto on 6.1_RC2 is 1.3.2



I'm small pbulk on NetBSD/macppc 6.1_RC2.
with xrandr, I'm getting following problem.
+------------------
| checking whether make supports nested variables... yes
| checking for floor in -lm... yes
| checking for XRANDR... no
| configure: error: Package requirements 
    (xrandr >= 1.4 xrender x11 xproto >= 7.0.17) were not met:
| 
| Requested 'xrandr >= 1.4' but version of Xrandr is 1.3.2
| 
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
| 
| Alternatively, you may set the environment variables XRANDR_CFLAGS
| and XRANDR_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| *** Error code 1
+ ------------------

I had work around as attached. 
Please advice correct fix.
Thanks a lot,
---
Makoto Fujiwara, 
mef@NetBSD
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.221
diff -u -r1.221 mk.conf
--- mk/defaults/mk.conf 6 Apr 2013 11:11:56 -0000       1.221
+++ mk/defaults/mk.conf 15 Apr 2013 13:56:18 -0000
@@ -198,7 +198,7 @@
 
 .if (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/X11R7/lib/libX11.so))
-PREFER_PKGSRC?=
+PREFER_PKGSRC?= libXrandr randrproto
 .elif (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && \
      exists(/usr/lib/libexpat.so))
 PREFER_PKGSRC?=                MesaLib Xft2 Xrandr Xrenderfontconfig   \


Home | Main Index | Thread Index | Old Index