netbsd-bugs@netbsd.org
[Top] [All Lists]

re: bin/40050: scanpci can't find a shared library

Subject: re: bin/40050: scanpci can't find a shared library
From: matthew green
Date: Fri, 28 Nov 2008 21:20:04 +0000 UTC
The following reply was made to PR xsrc/40050; it has been noted by GNATS.

From: matthew green <mrg@xxxxxxxxxxxxx>
To: Jonathan Glaschke <e-mail@xxxxxxxxxxxxxxxxxxxx>
Cc: gnats-bugs@xxxxxxxxxx, netbsd-bugs@xxxxxxxxxx,
    gnats-admin@xxxxxxxxxx, David Holland <dholland-bugs@xxxxxxxxxx>
Subject: re: bin/40050: scanpci can't find a shared library 
Date: Sat, 29 Nov 2008 08:16:34 +1100

 i think this patch should fix the problem.  libscanpci.so is in
 the modules subdir, not the main libdir.  this is also how pkgsrc
 xorg does it, so it seems easy enough.
 
 
 .mrg.
 
 
 Index: Makefile
 ===================================================================
 RCS file: 
/cvsroot/src/external/mit/xorg/server/xorg-server/hw/xfree86/utils/scanpci/Makefile,v
 retrieving revision 1.3
 diff -p -r1.3 Makefile
 *** Makefile   14 Oct 2008 23:37:19 -0000      1.3
 --- Makefile   28 Nov 2008 21:15:32 -0000
 *************** CPPFLAGS+=     -DHAVE_XORG_CONFIG_H \
 *** 15,20 ****
 --- 15,21 ----
                -I${X11SRCDIR.xorg-server}/hw/xfree86/dummylib
   
   LDADD=       -L${SCANPCIOBJDIR} -lscanpci \
 +      -Wl,-rpath,${X11LIBDIR}/modules \
        -L${XORGOSOBJDIR} -lxorgos \
        -L${DUMMYOBJDIR} -ldummy -lm
   
 

<Prev in Thread] Current Thread [Next in Thread>