Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Thomas Sachau (tommy)" <tommy@g.o>
Subject: gentoo-x86 commit in net-p2p/fms/files: fms-use-system-libs.patch
Date: Wed, 08 Apr 2009 14:07:25 +0000
tommy       09/04/08 14:07:25

  Added:                fms-use-system-libs.patch
  Log:
  Version bump
  (Portage version: 2.2_rc28/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-p2p/fms/files/fms-use-system-libs.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/files/fms-use-system-libs.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/files/fms-use-system-libs.patch?rev=1.1&content-type=text/plain

Index: fms-use-system-libs.patch
===================================================================
--- CMakeLists.txt	2009-04-04 16:20:16.000000000 +0200
+++ CMakeLists.txt.new	2009-04-08 15:42:06.000000000 +0200
@@ -294,10 +294,15 @@
 		INCLUDE_DIRECTORIES(libs/libtommath)
 	ENDIF(TOMMATH_LIBRARY)
 	
-	# Force use of bundled tomcrypt, as the system library may have been compiled without the features we need
-	ADD_SUBDIRECTORY(libs/libtomcrypt)
-	TARGET_LINK_LIBRARIES(fms tomcrypt)
-	INCLUDE_DIRECTORIES(libs/libtomcrypt/headers)
+	FIND_LIBRARY(TOMCRYPT_LIBRARY NAMES tomcrypt libtomcrypt)
+	
+	IF(TOMCRYPT_LIBRARY)
+		TARGET_LINK_LIBRARIES(fms ${TOMCRYPT_LIBRARY})
+	ELSE(TOMCRYPT_LIBRARY)
+		ADD_SUBDIRECTORY(libs/libtomcrypt)
+		TARGET_LINK_LIBRARIES(fms tomcrypt)
+		INCLUDE_DIRECTORIES(libs/libtomcrypt/headers)
+	ENDIF(TOMCRYPT_LIBRARY)
 
 	
 	ADD_DEFINITIONS(-DFROST_SUPPORT)





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in net-p2p/fms: ChangeLog fms-0.3.35.ebuild
Next by thread:
gentoo-x86 commit in net-p2p/fms/files: fms-use-system-libs.patch
Previous by date:
gentoo-x86 commit in net-p2p/fms: ChangeLog fms-0.3.35.ebuild
Next by date:
gentoo-x86 commit in www-apache/mod_log_rotate: ChangeLog mod_log_rotate-1.00.ebuild


Updated Apr 29, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.