pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add version 0.9.0 of love.



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Sun Sep 30 16:30:54 2018 +0300
Changeset:	59b974e103fb00b0dc77d904e50f44df7254eeb2

Added Files:
	love09/DESCR
	love09/Makefile
	love09/PLIST
	love09/distinfo
	love09/patches/patch-configure
	love09/patches/patch-src_common_config.h

Log Message:
Add version 0.9.0 of love.

I haven't found a single thing using it yet, but for completeness
sake.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59b974e103fb00b0dc77d904e50f44df7254eeb2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 love09/DESCR                             |   4 +
 love09/Makefile                          |  48 +++
 love09/PLIST                             |   8 +
 love09/distinfo                          |   7 +
 love09/patches/patch-configure           | 576 +++++++++++++++++++++++++++++++
 love09/patches/patch-src_common_config.h |  15 +
 6 files changed, 658 insertions(+)

diffs:
diff --git a/love09/DESCR b/love09/DESCR
new file mode 100644
index 0000000000..98f668291d
--- /dev/null
+++ b/love09/DESCR
@@ -0,0 +1,4 @@
+LOVE is a framework for making 2D games in the Lua programming
+language. LOVE is totally free, and can be used in anything from
+friendly open-source hobby projects, to evil, closed-source commercial
+ones.
diff --git a/love09/Makefile b/love09/Makefile
new file mode 100644
index 0000000000..59c89ee541
--- /dev/null
+++ b/love09/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1 2014/03/31 22:27:22 thomasklausner Exp $
+
+DISTNAME=	love-0.9.0-linux-src
+PKGNAME=	${DISTNAME:S/-linux-src//:S/love/love09/}
+CATEGORIES=	games
+MASTER_SITES=	https://bitbucket.org/rude/love/downloads/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://love2d.org/
+COMMENT=	Framework for making 2D games in Lua
+LICENSE=	zlib
+
+WRKSRC=		${WRKDIR}/${DISTNAME:S/-linux-src//}
+GNU_CONFIGURE=	yes
+USE_LANGUAGES=	c c++
+
+USE_TOOLS+=	pkg-config
+USE_LIBTOOL=	yes
+
+LUA_VERSIONS_INCOMPATIBLE=	52
+
+# JIT needs WX mappings
+NOT_PAX_MPROTECT_SAFE+=		love0.9/bin/love
+
+GNU_CONFIGURE_PREFIX=		${PREFIX}/love0.9
+GNU_CONFIGURE_MANDIR=		${PREFIX}/love0.9/${PKGMANDIR}/
+BUILDLINK_PASSTHRU_DIRS+=	${GNU_CONFIGURE_PREFIX}/lib
+BUILDLINK_PASSTHRU_RPATHDIRS+=	${GNU_CONFIGURE_PREFIX}/lib
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.physfs+=	physfs>=2.0
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../lang/LuaJIT2/buildlink3.mk"
+.include "../../devel/devIL/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../audio/mpg123/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../graphics/mng/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/love09/PLIST b/love09/PLIST
new file mode 100644
index 0000000000..0b0e0e0232
--- /dev/null
+++ b/love09/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2014/03/31 22:27:22 thomasklausner Exp $
+love0.9/bin/love
+love0.9/lib/liblove.la
+love0.9/man/man1/love.1
+love0.9/share/applications/love.desktop
+love0.9/share/icons/hicolor/scalable/mimetypes/application-x-love-game.svg
+love0.9/share/mime/packages/love.xml
+love0.9/share/pixmaps/love.svg
diff --git a/love09/distinfo b/love09/distinfo
new file mode 100644
index 0000000000..4d32b15e72
--- /dev/null
+++ b/love09/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2014/03/31 22:27:22 thomasklausner Exp $
+
+SHA1 (love-0.9.0-linux-src.tar.gz) = d4ed3bd6a5f9c2359fbc86e43f87eda7f0b2111e
+RMD160 (love-0.9.0-linux-src.tar.gz) = 497563e79ea00b8390d43c2f0966076e4e23ce66
+Size (love-0.9.0-linux-src.tar.gz) = 1389352 bytes
+SHA1 (patch-configure) = 3514e45780d24aa28250349231f718fd3b787d48
+SHA1 (patch-src_common_config.h) = 93ce979d98590ca74e0437f5a265eec093073f80
diff --git a/love09/patches/patch-configure b/love09/patches/patch-configure
new file mode 100644
index 0000000000..93c3cb71db
--- /dev/null
+++ b/love09/patches/patch-configure
@@ -0,0 +1,576 @@
+$NetBSD: patch-configure,v 1.1 2014/03/31 22:27:22 thomasklausner Exp $
+
+Use portable test(1) comparison operator.
+https://bitbucket.org/rude/love/issue/866/unportable-test-1-comparison-operator-in
+
+--- configure.orig	2013-12-13 22:37:10.000000000 +0000
++++ configure
+@@ -18583,7 +18583,7 @@ else
+   LOVE_BUILD_EXE_FALSE=
+ fi
+ 
+- if test "x$enable_mpg123" == xno; then
++ if test "x$enable_mpg123" = xno; then
+   LOVE_NOMPG123_TRUE=
+   LOVE_NOMPG123_FALSE='#'
+ else
+@@ -18612,11 +18612,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_audio" == xtrue; then
++if test x"$enable_audio" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_AUDIO /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_audio == xtrue; then
++ if test x$enable_audio = xtrue; then
+   LOVE_MODULE_AUDIO_TRUE=
+   LOVE_MODULE_AUDIO_FALSE='#'
+ else
+@@ -18633,11 +18633,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_audio_null" == xtrue; then
++if test x"$enable_audio_null" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_AUDIO_NULL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_audio_null == xtrue; then
++ if test x$enable_audio_null = xtrue; then
+   LOVE_IMPLEMENTATION_AUDIO_NULL_TRUE=
+   LOVE_IMPLEMENTATION_AUDIO_NULL_FALSE='#'
+ else
+@@ -18654,11 +18654,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_audio_openal" == xtrue; then
++if test x"$enable_audio_openal" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_AUDIO_OPENAL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_audio_openal == xtrue; then
++ if test x$enable_audio_openal = xtrue; then
+   LOVE_IMPLEMENTATION_AUDIO_OPENAL_TRUE=
+   LOVE_IMPLEMENTATION_AUDIO_OPENAL_FALSE='#'
+ else
+@@ -18675,11 +18675,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_event" == xtrue; then
++if test x"$enable_event" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_EVENT /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_event == xtrue; then
++ if test x$enable_event = xtrue; then
+   LOVE_MODULE_EVENT_TRUE=
+   LOVE_MODULE_EVENT_FALSE='#'
+ else
+@@ -18696,11 +18696,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_event_sdl" == xtrue; then
++if test x"$enable_event_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_EVENT_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_event_sdl == xtrue; then
++ if test x$enable_event_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_EVENT_SDL_TRUE=
+   LOVE_IMPLEMENTATION_EVENT_SDL_FALSE='#'
+ else
+@@ -18717,11 +18717,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_filesystem" == xtrue; then
++if test x"$enable_filesystem" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FILESYSTEM /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_filesystem == xtrue; then
++ if test x$enable_filesystem = xtrue; then
+   LOVE_MODULE_FILESYSTEM_TRUE=
+   LOVE_MODULE_FILESYSTEM_FALSE='#'
+ else
+@@ -18738,11 +18738,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_filesystem_physfs" == xtrue; then
++if test x"$enable_filesystem_physfs" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FILESYSTEM_PHYSFS /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_filesystem_physfs == xtrue; then
++ if test x$enable_filesystem_physfs = xtrue; then
+   LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_TRUE=
+   LOVE_IMPLEMENTATION_FILESYSTEM_PHYSFS_FALSE='#'
+ else
+@@ -18759,11 +18759,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_font" == xtrue; then
++if test x"$enable_font" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FONT /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_font == xtrue; then
++ if test x$enable_font = xtrue; then
+   LOVE_MODULE_FONT_TRUE=
+   LOVE_MODULE_FONT_FALSE='#'
+ else
+@@ -18780,11 +18780,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_font_freetype" == xtrue; then
++if test x"$enable_font_freetype" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_FONT_FREETYPE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_font_freetype == xtrue; then
++ if test x$enable_font_freetype = xtrue; then
+   LOVE_IMPLEMENTATION_FONT_FREETYPE_TRUE=
+   LOVE_IMPLEMENTATION_FONT_FREETYPE_FALSE='#'
+ else
+@@ -18801,11 +18801,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_graphics" == xtrue; then
++if test x"$enable_graphics" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_GRAPHICS /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_graphics == xtrue; then
++ if test x$enable_graphics = xtrue; then
+   LOVE_MODULE_GRAPHICS_TRUE=
+   LOVE_MODULE_GRAPHICS_FALSE='#'
+ else
+@@ -18822,11 +18822,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_graphics_opengl" == xtrue; then
++if test x"$enable_graphics_opengl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_GRAPHICS_OPENGL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_graphics_opengl == xtrue; then
++ if test x$enable_graphics_opengl = xtrue; then
+   LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_TRUE=
+   LOVE_IMPLEMENTATION_GRAPHICS_OPENGL_FALSE='#'
+ else
+@@ -18843,11 +18843,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_image" == xtrue; then
++if test x"$enable_image" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_IMAGE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_image == xtrue; then
++ if test x$enable_image = xtrue; then
+   LOVE_MODULE_IMAGE_TRUE=
+   LOVE_MODULE_IMAGE_FALSE='#'
+ else
+@@ -18864,11 +18864,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_image_magpie" == xtrue; then
++if test x"$enable_image_magpie" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_IMAGE_MAGPIE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_image_magpie == xtrue; then
++ if test x$enable_image_magpie = xtrue; then
+   LOVE_IMPLEMENTATION_IMAGE_MAGPIE_TRUE=
+   LOVE_IMPLEMENTATION_IMAGE_MAGPIE_FALSE='#'
+ else
+@@ -18885,11 +18885,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_joystick" == xtrue; then
++if test x"$enable_joystick" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_JOYSTICK /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_joystick == xtrue; then
++ if test x$enable_joystick = xtrue; then
+   LOVE_MODULE_JOYSTICK_TRUE=
+   LOVE_MODULE_JOYSTICK_FALSE='#'
+ else
+@@ -18906,11 +18906,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_joystick_sdl" == xtrue; then
++if test x"$enable_joystick_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_JOYSTICK_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_joystick_sdl == xtrue; then
++ if test x$enable_joystick_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_JOYSTICK_SDL_TRUE=
+   LOVE_IMPLEMENTATION_JOYSTICK_SDL_FALSE='#'
+ else
+@@ -18927,11 +18927,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_keyboard" == xtrue; then
++if test x"$enable_keyboard" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_KEYBOARD /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_keyboard == xtrue; then
++ if test x$enable_keyboard = xtrue; then
+   LOVE_MODULE_KEYBOARD_TRUE=
+   LOVE_MODULE_KEYBOARD_FALSE='#'
+ else
+@@ -18948,11 +18948,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_keyboard_sdl" == xtrue; then
++if test x"$enable_keyboard_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_KEYBOARD_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_keyboard_sdl == xtrue; then
++ if test x$enable_keyboard_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_KEYBOARD_SDL_TRUE=
+   LOVE_IMPLEMENTATION_KEYBOARD_SDL_FALSE='#'
+ else
+@@ -18969,11 +18969,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_love" == xtrue; then
++if test x"$enable_love" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_LOVE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_love == xtrue; then
++ if test x$enable_love = xtrue; then
+   LOVE_MODULE_LOVE_TRUE=
+   LOVE_MODULE_LOVE_FALSE='#'
+ else
+@@ -18990,11 +18990,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_math" == xtrue; then
++if test x"$enable_math" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_MATH /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_math == xtrue; then
++ if test x$enable_math = xtrue; then
+   LOVE_MODULE_MATH_TRUE=
+   LOVE_MODULE_MATH_FALSE='#'
+ else
+@@ -19011,11 +19011,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_mouse" == xtrue; then
++if test x"$enable_mouse" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_MOUSE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_mouse == xtrue; then
++ if test x$enable_mouse = xtrue; then
+   LOVE_MODULE_MOUSE_TRUE=
+   LOVE_MODULE_MOUSE_FALSE='#'
+ else
+@@ -19032,11 +19032,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_mouse_sdl" == xtrue; then
++if test x"$enable_mouse_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_MOUSE_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_mouse_sdl == xtrue; then
++ if test x$enable_mouse_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_MOUSE_SDL_TRUE=
+   LOVE_IMPLEMENTATION_MOUSE_SDL_FALSE='#'
+ else
+@@ -19053,11 +19053,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_physics" == xtrue; then
++if test x"$enable_physics" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_PHYSICS /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_physics == xtrue; then
++ if test x$enable_physics = xtrue; then
+   LOVE_MODULE_PHYSICS_TRUE=
+   LOVE_MODULE_PHYSICS_FALSE='#'
+ else
+@@ -19074,11 +19074,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_physics_box2d" == xtrue; then
++if test x"$enable_physics_box2d" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_PHYSICS_BOX2D /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_physics_box2d == xtrue; then
++ if test x$enable_physics_box2d = xtrue; then
+   LOVE_IMPLEMENTATION_PHYSICS_BOX2D_TRUE=
+   LOVE_IMPLEMENTATION_PHYSICS_BOX2D_FALSE='#'
+ else
+@@ -19095,11 +19095,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_sound" == xtrue; then
++if test x"$enable_sound" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_SOUND /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_sound == xtrue; then
++ if test x$enable_sound = xtrue; then
+   LOVE_MODULE_SOUND_TRUE=
+   LOVE_MODULE_SOUND_FALSE='#'
+ else
+@@ -19116,11 +19116,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_sound_lullaby" == xtrue; then
++if test x"$enable_sound_lullaby" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_SOUND_LULLABY /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_sound_lullaby == xtrue; then
++ if test x$enable_sound_lullaby = xtrue; then
+   LOVE_IMPLEMENTATION_SOUND_LULLABY_TRUE=
+   LOVE_IMPLEMENTATION_SOUND_LULLABY_FALSE='#'
+ else
+@@ -19137,11 +19137,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_system" == xtrue; then
++if test x"$enable_system" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_SYSTEM /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_system == xtrue; then
++ if test x$enable_system = xtrue; then
+   LOVE_MODULE_SYSTEM_TRUE=
+   LOVE_MODULE_SYSTEM_FALSE='#'
+ else
+@@ -19158,11 +19158,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_system_sdl" == xtrue; then
++if test x"$enable_system_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_SYSTEM_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_system_sdl == xtrue; then
++ if test x$enable_system_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_SYSTEM_SDL_TRUE=
+   LOVE_IMPLEMENTATION_SYSTEM_SDL_FALSE='#'
+ else
+@@ -19179,11 +19179,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_thread" == xtrue; then
++if test x"$enable_thread" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_THREAD /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_thread == xtrue; then
++ if test x$enable_thread = xtrue; then
+   LOVE_MODULE_THREAD_TRUE=
+   LOVE_MODULE_THREAD_FALSE='#'
+ else
+@@ -19200,11 +19200,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_thread_sdl" == xtrue; then
++if test x"$enable_thread_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_THREAD_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_thread_sdl == xtrue; then
++ if test x$enable_thread_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_THREAD_SDL_TRUE=
+   LOVE_IMPLEMENTATION_THREAD_SDL_FALSE='#'
+ else
+@@ -19221,11 +19221,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_timer" == xtrue; then
++if test x"$enable_timer" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_TIMER /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_timer == xtrue; then
++ if test x$enable_timer = xtrue; then
+   LOVE_MODULE_TIMER_TRUE=
+   LOVE_MODULE_TIMER_FALSE='#'
+ else
+@@ -19242,11 +19242,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_timer_sdl" == xtrue; then
++if test x"$enable_timer_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_TIMER_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_timer_sdl == xtrue; then
++ if test x$enable_timer_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_TIMER_SDL_TRUE=
+   LOVE_IMPLEMENTATION_TIMER_SDL_FALSE='#'
+ else
+@@ -19263,11 +19263,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_window" == xtrue; then
++if test x"$enable_window" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_WINDOW /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_window == xtrue; then
++ if test x$enable_window = xtrue; then
+   LOVE_MODULE_WINDOW_TRUE=
+   LOVE_MODULE_WINDOW_FALSE='#'
+ else
+@@ -19284,11 +19284,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_window_sdl" == xtrue; then
++if test x"$enable_window_sdl" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_WINDOW_SDL /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_window_sdl == xtrue; then
++ if test x$enable_window_sdl = xtrue; then
+   LOVE_IMPLEMENTATION_WINDOW_SDL_TRUE=
+   LOVE_IMPLEMENTATION_WINDOW_SDL_FALSE='#'
+ else
+@@ -19305,11 +19305,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_Box2D" == xtrue; then
++if test x"$enable_Box2D" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_BOX2D /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_Box2D == xtrue; then
++ if test x$enable_Box2D = xtrue; then
+   LOVE_LIBRARY_BOX2D_TRUE=
+   LOVE_LIBRARY_BOX2D_FALSE='#'
+ else
+@@ -19326,11 +19326,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_Wuff" == xtrue; then
++if test x"$enable_Wuff" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_WUFF /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_Wuff == xtrue; then
++ if test x$enable_Wuff = xtrue; then
+   LOVE_LIBRARY_WUFF_TRUE=
+   LOVE_LIBRARY_WUFF_FALSE='#'
+ else
+@@ -19347,11 +19347,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_ddsparse" == xtrue; then
++if test x"$enable_ddsparse" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_DDSPARSE /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_ddsparse == xtrue; then
++ if test x$enable_ddsparse = xtrue; then
+   LOVE_LIBRARY_DDSPARSE_TRUE=
+   LOVE_LIBRARY_DDSPARSE_FALSE='#'
+ else
+@@ -19368,11 +19368,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_enet" == xtrue; then
++if test x"$enable_enet" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_ENET /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_enet == xtrue; then
++ if test x$enable_enet = xtrue; then
+   LOVE_LIBRARY_ENET_TRUE=
+   LOVE_LIBRARY_ENET_FALSE='#'
+ else
+@@ -19389,11 +19389,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_luasocket" == xtrue; then
++if test x"$enable_luasocket" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_LUASOCKET /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_luasocket == xtrue; then
++ if test x$enable_luasocket = xtrue; then
+   LOVE_LIBRARY_LUASOCKET_TRUE=
+   LOVE_LIBRARY_LUASOCKET_FALSE='#'
+ else
+@@ -19410,11 +19410,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_noise1234" == xtrue; then
++if test x"$enable_noise1234" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_NOISE1234 /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_noise1234 == xtrue; then
++ if test x$enable_noise1234 = xtrue; then
+   LOVE_LIBRARY_NOISE1234_TRUE=
+   LOVE_LIBRARY_NOISE1234_FALSE='#'
+ else
+@@ -19431,11 +19431,11 @@ else
+ fi
+ 
+ 
+-if test x"$enable_utf8" == xtrue; then
++if test x"$enable_utf8" = xtrue; then
+     $as_echo "#define LOVE_ENABLE_UTF8 /**/" >>confdefs.h
+ 
+ fi
+- if test x$enable_utf8 == xtrue; then
++ if test x$enable_utf8 = xtrue; then
+   LOVE_LIBRARY_UTF8_TRUE=
+   LOVE_LIBRARY_UTF8_FALSE='#'
+ else
diff --git a/love09/patches/patch-src_common_config.h b/love09/patches/patch-src_common_config.h
new file mode 100644
index 0000000000..54fc594f87
--- /dev/null
+++ b/love09/patches/patch-src_common_config.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_common_config.h,v 1.1 2014/03/31 22:27:22 thomasklausner Exp $
+
+https://bitbucket.org/rude/love/issue/867/netbsd-support
+
+--- src/common/config.h.orig	2013-12-13 22:08:44.000000000 +0000
++++ src/common/config.h
+@@ -25,7 +25,7 @@
+ #if defined(WIN32) || defined(_WIN32)
+ #	define LOVE_WINDOWS 1
+ #endif
+-#if defined(linux) || defined(__linux) || defined(__linux__)
++#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__NetBSD__)
+ #	define LOVE_LINUX 1
+ #endif
+ #if defined(__APPLE__)


Home | Main Index | Thread Index | Old Index