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



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