tech-pkg archive

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

xulrunner affected (Re: (native) xrandr libXrandr randproto on 6.1_RC2 is 1.3.2



| From: Makoto Fujiwara <makoto%ki.nu@localhost>
| Subject: (native) xrandr libXrandr randproto on 6.1_RC2 is 1.3.2
| Date: Mon, 15 Apr 2013 23:07:38 +0900

  --- 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

This change resulted the problem on xulrunner-20.0{,.1}
+------------
| => Applying pkgsrc patches for xulrunner-20.0
| ===> Creating toolchain wrappers for xulrunner-20.0
| ERROR: libXrandr>=1.1.2 is not installed; can't buildlink files.
| *** Error code 1
+------------

Then it asks me to add following line, 
(showing above line is probably bad practice ?)

Index: devel/xulrunner/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/devel/xulrunner/Makefile,v
retrieving revision 1.103
diff -u -r1.103 Makefile
--- devel/xulrunner/Makefile    5 Apr 2013 13:30:17 -0000       1.103
+++ devel/xulrunner/Makefile    15 Apr 2013 15:29:00 -0000
@@ -20,6 +20,8 @@
 PKGCONFIG_OVERRIDE+=   xulrunner/installer/mozilla-nss.pc.in
 PKGCONFIG_OVERRIDE+=   xulrunner/installer/mozilla-plugin.pc.in
 
+DEPENDS+=              libXrandr-[0-9]*:../../x11/libXrandr
+
 CONFIGURE_ARGS+=       --enable-application=xulrunner
 CONFIGURE_ARGS+=       --enable-libxul
 

---
Makoto Fujiwara, 
mef%NetBSD.org@localhost
Chiba, Japan, Narita Airport and Disneyland prefecture.




Home | Main Index | Thread Index | Old Index