1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/devel/sdl12/files/patch-ak
Maxim Sobolev 9b6455fe81 Fix the recent breakage introduced in 1.1.4 upgrade.
Starting from this release `sdl11-config --libs' output includes only SDL libs
and doesn't include X11 libs, which confuses configure scripts in third-party
apps. I reverted it to the previous behaviour.
2000-08-11 12:07:20 +00:00

26 lines
820 B
Plaintext

--- sdl-config.in.orig Mon May 22 21:01:18 2000
+++ sdl-config.in Fri Aug 11 15:01:30 2000
@@ -5,7 +5,7 @@
exec_prefix_set=no
usage="\
-Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
+Usage: sdl11-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
if test $# -eq 0; then
echo "${usage}" 1>&2
@@ -42,11 +42,11 @@
if test @includedir@ != /usr/include ; then
includes=-I@includedir@
fi
- echo $includes -I@includedir@/SDL @SDL_CFLAGS@
+ echo $includes -I@includedir@/SDL11 @SDL_CFLAGS@
;;
--libs)
libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
- echo $libdirs @SDL_LIBS@
+ echo $libdirs @SDL_LIBS@ @SYSTEM_LIBS@
;;
--static-libs)
libdirs="-L@libdir@ @SDL_RLD_FLAGS@"