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-buildsys...@kde.org
CCMAIL: kde-freebsd@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)
 
 
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to