aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-08-11 20:07:20 +0800
committersobomax <sobomax@FreeBSD.org>2000-08-11 20:07:20 +0800
commitddf5dc19a3db89436ac2182a7d077a42957f8115 (patch)
tree1f18f90d9b2ef3d14c02d1fc34bf5beca16c2584
parent9ef000bcb7cd43aeb635a7345004febebcb5865f (diff)
downloadfreebsd-ports-gnome-ddf5dc19a3db89436ac2182a7d077a42957f8115.tar.gz
freebsd-ports-gnome-ddf5dc19a3db89436ac2182a7d077a42957f8115.tar.zst
freebsd-ports-gnome-ddf5dc19a3db89436ac2182a7d077a42957f8115.zip
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.
-rw-r--r--devel/sdl-devel/files/patch-ak13
-rw-r--r--devel/sdl12/files/patch-ak13
2 files changed, 18 insertions, 8 deletions
diff --git a/devel/sdl-devel/files/patch-ak b/devel/sdl-devel/files/patch-ak
index b692d613b4a2..77feb792cf98 100644
--- a/devel/sdl-devel/files/patch-ak
+++ b/devel/sdl-devel/files/patch-ak
@@ -1,5 +1,5 @@
---- sdl-config.in.orig Sun Apr 23 22:23:24 2000
-+++ sdl-config.in Sun Apr 23 22:24:14 2000
+--- 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
@@ -9,7 +9,7 @@
if test $# -eq 0; then
echo "${usage}" 1>&2
-@@ -42,7 +42,7 @@
+@@ -42,11 +42,11 @@
if test @includedir@ != /usr/include ; then
includes=-I@includedir@
fi
@@ -17,4 +17,9 @@
+ echo $includes -I@includedir@/SDL11 @SDL_CFLAGS@
;;
--libs)
- if [ "`uname`" = "SunOS" ]; then
+ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
+- echo $libdirs @SDL_LIBS@
++ echo $libdirs @SDL_LIBS@ @SYSTEM_LIBS@
+ ;;
+ --static-libs)
+ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
diff --git a/devel/sdl12/files/patch-ak b/devel/sdl12/files/patch-ak
index b692d613b4a2..77feb792cf98 100644
--- a/devel/sdl12/files/patch-ak
+++ b/devel/sdl12/files/patch-ak
@@ -1,5 +1,5 @@
---- sdl-config.in.orig Sun Apr 23 22:23:24 2000
-+++ sdl-config.in Sun Apr 23 22:24:14 2000
+--- 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
@@ -9,7 +9,7 @@
if test $# -eq 0; then
echo "${usage}" 1>&2
-@@ -42,7 +42,7 @@
+@@ -42,11 +42,11 @@
if test @includedir@ != /usr/include ; then
includes=-I@includedir@
fi
@@ -17,4 +17,9 @@
+ echo $includes -I@includedir@/SDL11 @SDL_CFLAGS@
;;
--libs)
- if [ "`uname`" = "SunOS" ]; then
+ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
+- echo $libdirs @SDL_LIBS@
++ echo $libdirs @SDL_LIBS@ @SYSTEM_LIBS@
+ ;;
+ --static-libs)
+ libdirs="-L@libdir@ @SDL_RLD_FLAGS@"