Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 20:09:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308264 - in head/games/widelands: . files
Message-ID:  <201212042009.qB4K9GLr045714@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212042009.qB4K9GLr045714>