aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-03-25 03:11:23 +0800
committermakc <makc@FreeBSD.org>2009-03-25 03:11:23 +0800
commit7b4639d20c13a32165e09360f232cbf52ac84504 (patch)
tree99b1e4f31f9c29a02c1b60dc4aee185328dc5e71 /deskutils
parent34f4bf1e38b30974641b9f8900fb4e2dffe750d7 (diff)
downloadfreebsd-ports-graphics-7b4639d20c13a32165e09360f232cbf52ac84504.tar.gz
freebsd-ports-graphics-7b4639d20c13a32165e09360f232cbf52ac84504.tar.zst
freebsd-ports-graphics-7b4639d20c13a32165e09360f232cbf52ac84504.zip
Update devel/cmake to 2.6.3.
- Set INSTALL_TARGET for cmake based ports to install/strip. This solves problem of installing non-stripped binaries (noticed by delphij for KDE4 ports) - Fix linking to -lpthread for cmake based ports (KDE4 ports are affected mostly)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/strigi/Makefile2
-rw-r--r--deskutils/strigi/files/patch-config.h.cmake11
-rw-r--r--deskutils/strigi/files/patch-src__streams__strigi__strigi_thread.h11
3 files changed, 23 insertions, 1 deletions
diff --git a/deskutils/strigi/Makefile b/deskutils/strigi/Makefile
index 196af4c6252..263c4dfc3a3 100644
--- a/deskutils/strigi/Makefile
+++ b/deskutils/strigi/Makefile
@@ -6,7 +6,7 @@
PORTNAME= strigi
PORTVERSION= 0.6.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= SF
diff --git a/deskutils/strigi/files/patch-config.h.cmake b/deskutils/strigi/files/patch-config.h.cmake
new file mode 100644
index 00000000000..8a05f93576a
--- /dev/null
+++ b/deskutils/strigi/files/patch-config.h.cmake
@@ -0,0 +1,11 @@
+--- ./config.h.cmake.orig 2009-01-13 00:50:22.000000000 +0300
++++ ./config.h.cmake 2009-03-21 00:02:27.000000000 +0300
+@@ -40,7 +40,7 @@
+ //thread stuff
+ //////////////////////////////
+ #cmakedefine CMAKE_USE_WIN32_THREADS_INIT 1
+-#cmakedefine CMAKE_HAVE_PTHREAD_CREATE 1
++#cmakedefine CMAKE_HAVE_PTHREAD_H 1
+
+ //////////////////////////////
+ //types
diff --git a/deskutils/strigi/files/patch-src__streams__strigi__strigi_thread.h b/deskutils/strigi/files/patch-src__streams__strigi__strigi_thread.h
new file mode 100644
index 00000000000..941077a46cd
--- /dev/null
+++ b/deskutils/strigi/files/patch-src__streams__strigi__strigi_thread.h
@@ -0,0 +1,11 @@
+--- ./src/streams/strigi/strigi_thread.h.orig 2009-01-13 00:50:17.000000000 +0300
++++ ./src/streams/strigi/strigi_thread.h 2009-03-21 00:01:51.000000000 +0300
+@@ -23,7 +23,7 @@
+
+ #include <config.h>
+
+-#if defined(CMAKE_HAVE_PTHREAD_CREATE)
++#if defined(CMAKE_HAVE_PTHREAD_H)
+ #include <pthread.h>
+ #define STRIGI_MUTEX_DEFINE(x) pthread_mutex_t x
+ #define STRIGI_MUTEX_INIT(x) pthread_mutex_init(x, 0)