aboutsummaryrefslogtreecommitdiff
path: root/deskutils/mirall
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2013-12-09 15:58:11 +0000
committerMathieu Arnold <mat@FreeBSD.org>2013-12-09 15:58:11 +0000
commit675f86a9999e5f076a170100a63917f506f77aa2 (patch)
tree689fc0e8418848ad609664aa5eaa0dca39165daa /deskutils/mirall
parent9c669563abd9331ae3ece3fb678e457bbc703cf9 (diff)
downloadports-675f86a9999e5f076a170100a63917f506f77aa2.tar.gz
ports-675f86a9999e5f076a170100a63917f506f77aa2.zip
Notes
Diffstat (limited to 'deskutils/mirall')
-rw-r--r--deskutils/mirall/Makefile5
-rw-r--r--deskutils/mirall/files/patch-src__CMakeLists.txt14
2 files changed, 13 insertions, 6 deletions
diff --git a/deskutils/mirall/Makefile b/deskutils/mirall/Makefile
index 52372873f822..f94652e403f6 100644
--- a/deskutils/mirall/Makefile
+++ b/deskutils/mirall/Makefile
@@ -15,12 +15,11 @@ LIB_DEPENDS= libocsync.so:${PORTSDIR}/net/owncloud-csync \
libinotify.so:${PORTSDIR}/devel/libinotify \
libqtkeychain.so:${PORTSDIR}/security/qtkeychain
-USES= cmake:outsource pkgconfig gmake
+USES= cmake:outsource pkgconfig gmake compiler:c++11-lang
USE_BZIP2=
USE_QT4= corelib dbus gui linguist moc network qmake qtestlib rcc uic webkit xml
-CMAKE_ENV= CSYNC_DIR=${LOCALBASE}
+CMAKE_ENV= CSYNC_DIR=${LOCALBASE} INOTIFY_LIB=${LOCALBASE}/lib
CMAKE_ARGS= -DCSYNC_INCLUDE_PATH:STRING=${LOCALBASE}/include/ocsync/
-USE_GCC= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
diff --git a/deskutils/mirall/files/patch-src__CMakeLists.txt b/deskutils/mirall/files/patch-src__CMakeLists.txt
index 00927c3d7697..f48bae3b1b73 100644
--- a/deskutils/mirall/files/patch-src__CMakeLists.txt
+++ b/deskutils/mirall/files/patch-src__CMakeLists.txt
@@ -1,6 +1,14 @@
---- ./src/CMakeLists.txt.orig 2013-09-04 11:09:12.000000000 +0200
-+++ ./src/CMakeLists.txt 2013-09-18 15:09:30.000000000 +0200
-@@ -140,7 +140,7 @@
+--- ./src/CMakeLists.txt.orig 2013-10-21 14:05:25.000000000 +0200
++++ ./src/CMakeLists.txt 2013-12-09 16:16:15.000000000 +0100
+@@ -125,6 +125,7 @@
+ set(libsync_SRCS ${libsync_SRCS} mirall/folderwatcher_inotify.cpp)
+ set(libsync_HEADERS ${libsync_HEADERS} mirall/inotify.h)
+ set(libsync_HEADERS ${libsync_HEADERS} mirall/folderwatcher_inotify.h)
++ link_directories($ENV{INOTIFY_LIB})
+ ENDIF()
+ IF( WIN32 )
+ set(libsync_SRCS ${libsync_SRCS} mirall/folderwatcher_win.cpp)
+@@ -140,7 +141,7 @@
list(APPEND libsync_LINK_TARGETS
${QT_LIBRARIES}
${CSYNC_LIBRARY}