openbsd-ports/net/libproxy/patches/patch-libmodman_CMakeLists_txt
ajacoutot 518ac6d7b6 Major update to libproxy-0.4.6.
Several patches from the FreeBSD port.

Create -mozilla and -webkit subpackages. Do NOT build -webkit by default
because of a cyclic dependency:
libproxy,-webkit -> webkit -> libsoup -> libproxy

tested in a bulk by landry@
ok landry@
2011-03-24 06:50:09 +00:00

16 lines
632 B
Plaintext

$OpenBSD: patch-libmodman_CMakeLists_txt,v 1.1 2011/03/24 06:50:09 ajacoutot Exp $
--- libmodman/CMakeLists.txt.orig Wed Sep 1 22:23:34 2010
+++ libmodman/CMakeLists.txt Tue Mar 22 09:36:04 2011
@@ -12,9 +12,9 @@ add_library(modman SHARED
module_manager.hpp
module_manager.cpp)
if(NOT WIN32)
- target_link_libraries(modman dl)
+ target_link_libraries(modman)
endif()
-set_target_properties(modman PROPERTIES PREFIX "lib" VERSION 1.0.0 SOVERSION 1)
+set_target_properties(modman PROPERTIES PREFIX "lib" VERSION ${LIBmodman_VERSION})
install(TARGETS modman DESTINATION ${LIB_INSTALL_DIR})
### Tests