pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44122: pkgsrc-2010Q3 x11/libxcb fails on NetBSD/sh3el 5.1
The following reply was made to PR pkg/44122; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/44122: pkgsrc-2010Q3 x11/libxcb fails on NetBSD/sh3el 5.1
Date: Mon, 22 Nov 2010 02:00:08 +0900
> >Synopsis: pkgsrc-2010Q3 x11/libxcb fails on NetBSD/sh3el 5.1
The following CONFIGURE_ARGS seems to work around,
but I have no idea how they can be conditionalized
per OS/version/MACHINE using native (i.e. no pkg-config support)
XFree86 derived libXau and libXdmcp.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/libxcb/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 10 Sep 2010 19:12:13 -0000 1.12
+++ Makefile 21 Nov 2010 16:48:46 -0000
@@ -23,6 +23,11 @@ USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --disable-build-docs # or needs doxygen
CONFIGURE_ARGS+= --disable-doxygen
+CONFIGURE_ARGS+= NEEDED_CFLAGS="-I/usr/X11R6/include"
+CONFIGURE_ARGS+= NEEDED_LIBS="-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-lXau"
+CONFIGURE_ARGS+= XDMCP_CFLAGS="-I/usr/X11R6/include"
+CONFIGURE_ARGS+= XDMCP_LIBS="-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-lXdmcp"
+
# Adds -Wl,-R to pkgconfig files automatically
PKGCONFIG_OVERRIDE+= xcb-composite.pc.in
PKGCONFIG_OVERRIDE+= xcb-damage.pc.in
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index