aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2017-07-03 18:19:20 +0800
committermartymac <martymac@FreeBSD.org>2017-07-03 18:19:20 +0800
commit08d01bac9e47e2466e3fe49dbba66255d39987db (patch)
tree4f5e70fe85b855eb8b061d871bb7af791b223a0d /games
parent73c6ec00711c4d5191cc1af7b66d67f80f15097d (diff)
downloadfreebsd-ports-gnome-08d01bac9e47e2466e3fe49dbba66255d39987db.tar.gz
freebsd-ports-gnome-08d01bac9e47e2466e3fe49dbba66255d39987db.tar.zst
freebsd-ports-gnome-08d01bac9e47e2466e3fe49dbba66255d39987db.zip
Add missing dependency to libudev
Reported by: Markus Barenhoff <mbarenh@alios.org> MFH: 2017Q3
Diffstat (limited to 'games')
-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)