1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Move to compiler:c++11-lang.

This commit is contained in:
Mathieu Arnold 2013-12-09 15:58:11 +00:00
parent 9c669563ab
commit 675f86a999
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335999
2 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -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}