View | Details | Raw Unified | Return to bug 201956
Collapse All | Expand All

(-)b/games/openclonk/Makefile (-3 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	openclonk
4
PORTNAME=	openclonk
5
PORTVERSION=	6.0
5
PORTVERSION=	6.1
6
DISTVERSIONSUFFIX=	-src
6
DISTVERSIONSUFFIX=	-src
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	http://www.openclonk.org/builds/release/${DISTVERSION}/
8
MASTER_SITES=	http://www.openclonk.org/builds/release/${DISTVERSION}/
Lines 27-34 USE_SDL= sdl mixer Link Here
27
USE_XORG=	x11 xpm
27
USE_XORG=	x11 xpm
28
INSTALLS_ICONS=	yes
28
INSTALLS_ICONS=	yes
29
29
30
WRKSRC=		${WRKDIR}/openclonk-release-${DISTVERSION}-src
31
32
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
33
31
34
.if ${OSVERSION} < 1000024
32
.if ${OSVERSION} < 1000024
(-)b/games/openclonk/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (openclonk-6.0-src.tar.bz2) = 89271011c14a239c3000f057c12699c2ce1242187d41c4d2f6fd11b1d46a0248
1
SHA256 (openclonk-6.1-src.tar.bz2) = 5c3903f82c9d7e8c466ab1ff594d553911a6e5fa0be2a326684d823ef1c24905
2
SIZE (openclonk-6.0-src.tar.bz2) = 68762594
2
SIZE (openclonk-6.1-src.tar.bz2) = 68861317
(-)a/games/openclonk/files/patch-CMakeLists.txt (-21 lines)
Removed Link Here
1
--- CMakeLists.txt.orig	2015-03-15 19:33:38 UTC
2
+++ CMakeLists.txt
3
@@ -912,7 +912,6 @@ if(USE_SDL_MAINLOOP OR (Audio_TK STREQUA
4
 	find_package(SDL)
5
 	SET(HAVE_SDL ${SDL_FOUND})
6
 	include_directories(${SDL_INCLUDE_DIR})
7
-	target_link_libraries(openclonk ${SDL_LIBRARY})
8
 endif()
9
 
10
 ############################################################################
11
@@ -1094,6 +1093,10 @@ target_link_libraries(openclonk
12
 	libmisc
13
 )
14
 
15
+if (SDL_FOUND)
16
+	target_link_libraries(openclonk ${SDL_LIBRARY})
17
+endif()
18
+
19
 if(Audio_FOUND)
20
 	target_link_libraries(openclonk ${Audio_LIBRARIES})
21
 	include_directories(${Audio_INCLUDE_DIRS})

Return to bug 201956