NetBSD-Bugs archive

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

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



The following reply was made to PR xsrc/40050; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: Jonathan Glaschke <e-mail%jonathan-glaschke.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
    gnats-admin%netbsd.org@localhost, David Holland 
<dholland-bugs%netbsd.org@localhost>
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
   
 


Home | Main Index | Thread Index | Old Index