summaryrefslogtreecommitdiff
path: root/devel/p5-SDL/files/patch-Makefile.freebsd
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2006-09-20 11:21:59 +0000
committerStanislav Sedov <stas@FreeBSD.org>2006-09-20 11:21:59 +0000
commit0d2725682b8325a08b11592d11062997bb9dc7f2 (patch)
tree46ab0c86563bfc2fbab1ecc5f9dadffb47afe737 /devel/p5-SDL/files/patch-Makefile.freebsd
parentUpdate to 0.32 (diff)
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
Diffstat (limited to 'devel/p5-SDL/files/patch-Makefile.freebsd')
-rw-r--r--devel/p5-SDL/files/patch-Makefile.freebsd24
1 files changed, 22 insertions, 2 deletions
diff --git a/devel/p5-SDL/files/patch-Makefile.freebsd b/devel/p5-SDL/files/patch-Makefile.freebsd
index b35294b7189d..02d2fd55958a 100644
--- a/devel/p5-SDL/files/patch-Makefile.freebsd
+++ b/devel/p5-SDL/files/patch-Makefile.freebsd
@@ -1,5 +1,5 @@
---- Makefile.freebsd.orig Thu Jan 1 02:38:22 2004
-+++ Makefile.freebsd Thu Jan 1 02:38:54 2004
+--- Makefile.freebsd.orig Wed Mar 12 03:38:56 2003
++++ Makefile.freebsd Tue Sep 12 18:08:44 2006
@@ -1,6 +1,7 @@
#!/usr/bin/env perl
@@ -8,6 +8,26 @@
use ExtUtils::MakeMaker;
#
+@@ -13,8 +14,8 @@
+ # Configuration detection of Linux / Unix
+ #
+
+-chomp ($sdl_cflags = "-I/usr/X11R6/include " . `sdl11-config --cflags`);
+-chomp ($sdl_libs = "-L/usr/X11R6/lib " . `sdl11-config --libs`);
++chomp ($sdl_cflags = "-I/usr/X11R6/include " . `sdl-config --cflags`);
++chomp ($sdl_libs = "-L/usr/X11R6/lib " . `sdl-config --libs`);
+ $sdl_libs =~ s/-Wl,-rpath,\/usr\/local\/lib//; # suppress the insanity
+ $sdl_libs =~ s/-pthread//;
+
+@@ -24,7 +25,7 @@
+
+ @dirs=(
+ '/usr/local/include',
+- '/usr/local/include/SDL11',
++ '/usr/local/include/SDL',
+ '/usr/local/include/smpeg',
+ '/usr/X11R6/include',
+ '/usr/X11R6/include/GL',
@@ -96,7 +97,7 @@
my %options = (