svn commit: r308264 - in head/games/widelands: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Dec 4 20:09:16 UTC 2012
Author: amdmi3
Date: Tue Dec 4 20:09:16 2012
New Revision: 308264
URL: http://svnweb.freebsd.org/changeset/ports/308264
Log:
- Fix build by adding forgotten patch
Feature safe: yes
Added:
head/games/widelands/files/patch-src-CMakeLists.txt (contents, props changed)
Modified:
head/games/widelands/Makefile
Modified: head/games/widelands/Makefile
==============================================================================
--- head/games/widelands/Makefile Tue Dec 4 20:02:10 2012 (r308263)
+++ head/games/widelands/Makefile Tue Dec 4 20:09:16 2012 (r308264)
@@ -3,6 +3,7 @@
PORTNAME= widelands
DISTVERSION= build17
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= https://launchpadlibrarian.net/102893896/ \
http://mirror.amdmi3.ru/distfiles/
Added: head/games/widelands/files/patch-src-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/widelands/files/patch-src-CMakeLists.txt Tue Dec 4 20:09:16 2012 (r308264)
@@ -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)
More information about the svn-ports-all
mailing list