[kde-freebsd] KDE/kdebase/workspace/cmake/modules

Raphael Kubo da Costa kubito at gmail.com
Sun Mar 21 23:07:56 CET 2010


SVN commit 1106130 by rkcosta:

Integrate patch by FreeBSD that only links to libresolv when it is found -- its functionality is provided by libc in FreeBSD.

CCMAIL: kde-buildsystem at kde.org
CCMAIL: kde-freebsd at kde.org


 M  +5 -1      FindPCIUTILS.cmake  


--- trunk/KDE/kdebase/workspace/cmake/modules/FindPCIUTILS.cmake #1106129:1106130
@@ -14,7 +14,11 @@
 FIND_LIBRARY(PCIUTILS_LIBRARY NAMES pci)
 if(PCIUTILS_LIBRARY)
   FIND_LIBRARY(RESOLV_LIBRARY NAMES resolv)
-  set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARY} ${RESOLV_LIBRARY})
+  if(RESOLV_LIBRARY)
+    set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARY} ${RESOLV_LIBRARY})
+  else(RESOLV_LIBRARY)
+    set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARY})
+  endif(RESOLV_LIBRARY)
 endif(PCIUTILS_LIBRARY)
 
 


More information about the kde-freebsd mailing list