aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-05-05 08:21:42 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-05-05 08:21:42 +0000
commit27a3e69c8dca856b0e03ff55bbee04d55f7adcb7 (patch)
tree7bc74406a1ed750ed7dbd099aaaa3ca37e831385
parent196bf9b94f997154ecff2aa27bfe3c12d21388b1 (diff)
downloadports-27a3e69c8dca856b0e03ff55bbee04d55f7adcb7.tar.gz
ports-27a3e69c8dca856b0e03ff55bbee04d55f7adcb7.zip
Notes
-rw-r--r--devel/ucommon/Makefile2
-rw-r--r--devel/ucommon/distinfo4
-rw-r--r--devel/ucommon/files/patch-CMakeLists.txt70
-rw-r--r--devel/ucommon/pkg-plist6
4 files changed, 39 insertions, 43 deletions
diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile
index 56ef696ae86e..788fd68f5ad5 100644
--- a/devel/ucommon/Makefile
+++ b/devel/ucommon/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ucommon
-PORTVERSION= 6.1.1
+PORTVERSION= 6.1.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= commoncpp
diff --git a/devel/ucommon/distinfo b/devel/ucommon/distinfo
index 3e9fa9c83a2d..63351f2b52cb 100644
--- a/devel/ucommon/distinfo
+++ b/devel/ucommon/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ucommon-6.1.1.tar.gz) = a6dde609c2b9ec08343dce47d2e8895b3b7e54700bc31d715d98bb62f6c55b90
-SIZE (ucommon-6.1.1.tar.gz) = 829129
+SHA256 (ucommon-6.1.3.tar.gz) = 217867ebc89a97e69bec427ba7f09bd5cb50eef0588f83546550dd817dea43c8
+SIZE (ucommon-6.1.3.tar.gz) = 829685
diff --git a/devel/ucommon/files/patch-CMakeLists.txt b/devel/ucommon/files/patch-CMakeLists.txt
index ae38edaef525..910b1c52b0da 100644
--- a/devel/ucommon/files/patch-CMakeLists.txt
+++ b/devel/ucommon/files/patch-CMakeLists.txt
@@ -1,26 +1,25 @@
---- CMakeLists.txt 2013-07-28 05:32:06.000000000 -0500
-+++ CMakeLists.txt 2013-10-01 18:00:14.000000000 -0500
-@@ -30,7 +30,9 @@
+--- CMakeLists.txt.orig 2014-05-05 09:49:48.000000000 +0200
++++ CMakeLists.txt 2014-05-05 09:58:30.000000000 +0200
+@@ -37,7 +37,9 @@
# when we override default install prefix, assume full path is used...
set(INSTALL_INCLUDEDIR include)
-set(INSTALL_BINDIR bin)
-+if (NOT INSTALL_BINDIR)
-+ set(INSTALL_BINDIR bin)
-+endif ()
++if(NOT INSTALL_BINDIR)
++ set(INSTALL_BINDIR bin)
++endif()
if(WIN32)
- set(INSTALL_MANDIR man)
-@@ -50,7 +52,7 @@
- endif()
- endif()
- set(INSTALL_SBINDIR sbin)
-- set(INSTALL_MANDIR share/man)
+ set(MODULE_FLAGS "-module -shared -no-undefined")
+@@ -53,6 +55,7 @@
+ set(MODULE_FLAGS "-module -shared -avoid-version")
+ set(SYSCONFDIR "/etc" CACHE PATH "config directory")
+ set(STATEDIR "/var" CACHE PATH "state directory")
+ set(INSTALL_MANDIR man)
- set(INSTALL_LOCALE share/locale)
- set(INSTALL_DOCDIR share/doc/${PROJECT_NAME})
- set(INSTALL_INFODIR share/info)
-@@ -207,15 +209,17 @@
+ endif()
+
+ if(NOT INSTALL_SBINDIR)
+@@ -227,13 +230,15 @@
if(UNIX OR MSYS OR MINGW OR CYGWIN)
@@ -31,7 +30,7 @@
- check_library_exists(compat dlopen "" HAVE_COMPAT_LIB)
- if(HAVE_COMPAT_LIB)
- set (UCOMMON_LIBS ${UCOMMON_LIBS} compat)
-+ if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+ check_library_exists(dl dlopen "" HAVE_DL_LIB)
+ if (HAVE_DL_LIB)
+ set (UCOMMON_LIBS ${UCOMMON_LIBS} dl)
@@ -41,47 +40,44 @@
+ set (UCOMMON_LIBS ${UCOMMON_LIBS} compat)
+ endif()
endif()
-- endif()
-+ endif ()
+ endif()
- check_library_exists(dld shl_load "" HAVE DLD_LIB)
- if (HAVE_DLD_LIB)
-@@ -309,7 +313,11 @@
+@@ -330,7 +335,11 @@
check_include_files(sys/event.h HAVE_SYS_EVENT_H)
check_include_files(syslog.h HAVE_SYSLOG_H)
check_include_files(openssl/ssl.h HAVE_OPENSSL)
-+if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
-+ set (HAVE_OPENSSL_FIPS_H "")
-+else ()
- check_include_files(openssl/fips.h HAVE_OPENSSL_FIPS_H)
-+endif ()
+-check_include_files(openssl/fips.h HAVE_OPENSSL_FIPS_H)
++if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++ set(HAVE_OPENSSL_FIPS_H "")
++else()
++ check_include_files(openssl/fips.h HAVE_OPENSSL_FIPS_H)
++endif()
check_include_files(libintl.h HAVE_LIBINTL_H)
check_include_files(netinet/in.h HAVE_NETINET_IN_H)
check_include_files(net/if.h HAVE_NET_IF_H)
-@@ -411,11 +419,20 @@
+@@ -434,11 +443,19 @@
endforeach()
foreach(lib ${UCOMMON_LIBS})
STRING(REGEX REPLACE "^[-]l" "" slib ${lib})
- set(PACKAGE_LIBS "${PACKAGE_LIBS} -l${slib}")
+ if(${lib} STREQUAL "-pthread")
-+ set(PACKAGE_LIBS "${PACKAGE_LIBS} ${slib}")
++ set(PACKAGE_LIBS "${PACKAGE_LIBS} ${slib}" )
+ else()
-+ set(PACKAGE_LIBS "${PACKAGE_LIBS} -l${slib}")
++ set(PACKAGE_LIBS "${PACKAGE_LIBS} -l${slib}")
+ endif()
-+ STRING(REGEX REPLACE "^[-]l" "" slib ${lib})
endforeach()
foreach(lib ${SECURE_LIBS})
STRING(REGEX REPLACE "^[-]l" "" slib ${lib})
- set(ADDITIONAL_LIBS "${ADDITIONAL_LIBS} -l${slib}")
-+ if(${lib} STREQUAL "-pthread")
-+ set(ADDITIONAL_LIBS "${ADDITIONAL_LIBS} ${slib}")
-+ else()
-+ set(ADDITIONAL_LIBS "${ADDITIONAL_LIBS} -l${slib}")
-+ endif()
++ if(${lib} STREQUAL "-pthread")
++ set(ADDITIONAL_LIBS "${ADDITIONAL_LIBS} ${slib}")
++ else()
++ set(ADDITIONAL_LIBS "${ADDITIONAL_LIBS} -l${slib}")
++ endif()
endforeach()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config)
-@@ -566,11 +583,11 @@
+@@ -594,11 +611,11 @@
endif()
if(NOT WIN32)
diff --git a/devel/ucommon/pkg-plist b/devel/ucommon/pkg-plist
index 70e48defda4f..f52e9ce8e5b5 100644
--- a/devel/ucommon/pkg-plist
+++ b/devel/ucommon/pkg-plist
@@ -66,13 +66,13 @@ include/ucommon/vector.h
include/ucommon/xml.h
lib/libcommoncpp.so
lib/libcommoncpp.so.6
-lib/libcommoncpp.so.6.1.1
+lib/libcommoncpp.so.6.0.7
lib/libucommon.so
lib/libucommon.so.6
-lib/libucommon.so.6.1.1
+lib/libucommon.so.6.0.7
lib/libusecure.so
lib/libusecure.so.6
-lib/libusecure.so.6.1.1
+lib/libusecure.so.6.0.7
libdata/pkgconfig/commoncpp.pc
libdata/pkgconfig/ucommon.pc
man/man1/args.1.gz