summaryrefslogtreecommitdiff
path: root/devel/SDL2/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'devel/SDL2/patches/patch-configure')
-rw-r--r--devel/SDL2/patches/patch-configure27
1 files changed, 0 insertions, 27 deletions
diff --git a/devel/SDL2/patches/patch-configure b/devel/SDL2/patches/patch-configure
deleted file mode 100644
index d9e5cdd9026..00000000000
--- a/devel/SDL2/patches/patch-configure
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-configure,v 1.8 2020/03/17 12:49:29 nia Exp $
-
-Adding --enable-new-dtags breaks sdl2-config on NetBSD.
-Allow overriding SDL_RLD_FLAGS so we can add /usr/X11R7/lib.
-
---- configure.orig 2020-03-11 01:36:18.000000000 +0000
-+++ configure
-@@ -25537,7 +25537,9 @@ SDLTEST_DEPENDS=`echo "$SDLTEST_DEPENDS"
-
- if test "x$enable_rpath" = "xyes"; then
- if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = linux -o $ARCH = netbsd; then
-- SDL_RLD_FLAGS="-Wl,-rpath,\${libdir}"
-+ if test -n "$SDL_RLD_FLAGS"; then
-+ SDL_RLD_FLAGS="-Wl,-rpath,\${libdir}"
-+ fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker option --enable-new-dtags" >&5
- $as_echo_n "checking for linker option --enable-new-dtags... " >&6; }
-@@ -25560,7 +25562,7 @@ _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
-
- have_enable_new_dtags=yes
-- SDL_RLD_FLAGS="$SDL_RLD_FLAGS -Wl,--enable-new-dtags"
-+ SDL_RLD_FLAGS="$SDL_RLD_FLAGS"
-
- fi
- rm -f core conftest.err conftest.$ac_objext \