aboutsummaryrefslogtreecommitdiff
path: root/games/flightgear
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2017-07-03 10:19:20 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2017-07-03 10:19:20 +0000
commit9d138e2136323414d34c6e23d8392e6c011e6d5c (patch)
tree4f5e70fe85b855eb8b061d871bb7af791b223a0d /games/flightgear
parentd7ec49683b80ecaed644913f8375fb09792f7680 (diff)
downloadports-9d138e2136323414d34c6e23d8392e6c011e6d5c.tar.gz
ports-9d138e2136323414d34c6e23d8392e6c011e6d5c.zip
Notes
Diffstat (limited to 'games/flightgear')
-rw-r--r--games/flightgear/Makefile5
-rw-r--r--games/flightgear/files/patch-INPUT-CMakeLists.txt11
2 files changed, 14 insertions, 2 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index 483e340caf73..23ad960126a4 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -3,7 +3,7 @@
PORTNAME= flightgear
PORTVERSION= 2017.1.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}
@@ -19,7 +19,8 @@ LIB_DEPENDS= libpng.so:graphics/png \
libosg.so:graphics/osg \
libspeex.so:audio/speex \
libspeexdsp.so:audio/speexdsp \
- libcurl.so:ftp/curl
+ libcurl.so:ftp/curl \
+ libudev.so:devel/libudev-devd
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \
${LOCALBASE}/lib/libSimGearCore.a:devel/simgear
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \
diff --git a/games/flightgear/files/patch-INPUT-CMakeLists.txt b/games/flightgear/files/patch-INPUT-CMakeLists.txt
new file mode 100644
index 000000000000..88bdafa73f3c
--- /dev/null
+++ b/games/flightgear/files/patch-INPUT-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2017-06-30 11:44:05.757902000 +0200
++++ CMakeLists.txt 2017-06-30 11:49:07.188128000 +0200
+@@ -226,7 +226,7 @@
+ if(EVENT_INPUT)
+ if(APPLE)
+ add_definitions(-DWITH_EVENTINPUT)
+- elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
++ elseif(CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD")
+ if(NOT UDEV_FOUND)
+ message(WARNING "UDev not found, event input is disabled!")
+ set(EVENT_INPUT 0)