summaryrefslogtreecommitdiff
path: root/emulators/aranym/patches/patch-configure
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-10-01 14:55:22 +0000
committernia <nia@pkgsrc.org>2019-10-01 14:55:22 +0000
commit9297228514e143a146b589bc2e20729bbb7b14ad (patch)
treeafbed4a30b212ff4dd7b97b7bf93b086a206af6b /emulators/aranym/patches/patch-configure
parent3c90a0d70908b7213f752476d4a900de7bec669a (diff)
downloadpkgsrc-9297228514e143a146b589bc2e20729bbb7b14ad.tar.gz
aranym: Add missing patch
Diffstat (limited to 'emulators/aranym/patches/patch-configure')
-rw-r--r--emulators/aranym/patches/patch-configure24
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/aranym/patches/patch-configure b/emulators/aranym/patches/patch-configure
new file mode 100644
index 00000000000..e1b49858510
--- /dev/null
+++ b/emulators/aranym/patches/patch-configure
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure,v 1.1 2019/10/01 14:55:22 nia Exp $
+
+Shell portability.
+
+--- configure.orig 2019-04-14 14:11:32.000000000 +0000
++++ configure
+@@ -13005,7 +13005,7 @@ SDL_CFLAGS=
+ SDL_LIBS=
+ no_sdl=yes
+ no_sdl2=yes
+-if test "$OS_TYPE" == darwin -a "$WITH_FINK" = no; then
++if test "$OS_TYPE" = darwin -a "$WITH_FINK" = no; then
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports framework SDL" >&5
+ $as_echo_n "checking whether compiler supports framework SDL... " >&6; }
+@@ -13971,7 +13971,7 @@ fi
+
+ #
+ # SDL2 on macOS needs 10.6 or above
+-if test "$enable_sdl2" = yes -a "$OS_TYPE" == darwin; then
++if test "$enable_sdl2" = yes -a "$OS_TYPE" = darwin; then
+ export MACOSX_DEPLOYMENT_TARGET=10.6
+ fi
+