aboutsummaryrefslogtreecommitdiff
path: root/games/widelands
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2012-12-04 20:09:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2012-12-04 20:09:16 +0000
commit2fb2cdfb1c0464bd2415bae70d8ac97a4ce8ba9c (patch)
treec4c77efb1f8ff33a569c9dc13853b5798a056b26 /games/widelands
parent451df6381852e86aebf6f0a1e3e2625fca354f2d (diff)
downloadports-2fb2cdfb1c0464bd2415bae70d8ac97a4ce8ba9c.tar.gz
ports-2fb2cdfb1c0464bd2415bae70d8ac97a4ce8ba9c.zip
Notes
Diffstat (limited to 'games/widelands')
-rw-r--r--games/widelands/Makefile1
-rw-r--r--games/widelands/files/patch-src-CMakeLists.txt14
2 files changed, 15 insertions, 0 deletions
diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index e5f74c99c9ef..50d8cc4e5625 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -3,6 +3,7 @@
PORTNAME= widelands
DISTVERSION= build17
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= https://launchpadlibrarian.net/102893896/ \
http://mirror.amdmi3.ru/distfiles/
diff --git a/games/widelands/files/patch-src-CMakeLists.txt b/games/widelands/files/patch-src-CMakeLists.txt
new file mode 100644
index 000000000000..a3740f6e6bb0
--- /dev/null
+++ b/games/widelands/files/patch-src-CMakeLists.txt
@@ -0,0 +1,14 @@
+--- src/CMakeLists.txt.orig 2012-04-23 13:46:49.000000000 +0400
++++ src/CMakeLists.txt 2012-11-30 17:09:45.876932960 +0400
+@@ -134,9 +134,9 @@
+ target_link_libraries(widelands widelands_all)
+ target_link_libraries(widelands ${SDL_LIBRARY})
+
+-if (APPLE OR WIN32)
++if (APPLE OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ target_link_libraries(widelands_all ${INTL_LIBRARY})
+-endif (APPLE OR WIN32)
++endif (APPLE OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+
+ if (WIN32)
+ if (DEFINED MSVC)