aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-SDL
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
parent750f1f56ed3264341b911b1182fc2f3f4dd609c2 (diff)
downloadports-0d2725682b8325a08b11592d11062997bb9dc7f2.tar.gz
ports-0d2725682b8325a08b11592d11062997bb9dc7f2.zip
Notes
Diffstat (limited to 'devel/p5-SDL')
-rw-r--r--devel/p5-SDL/Makefile2
-rw-r--r--devel/p5-SDL/files/patch-Makefile.freebsd24
2 files changed, 23 insertions, 3 deletions
diff --git a/devel/p5-SDL/Makefile b/devel/p5-SDL/Makefile
index 83078e18a258..1024e2d288b2 100644
--- a/devel/p5-SDL/Makefile
+++ b/devel/p5-SDL/Makefile
@@ -5,7 +5,7 @@
PORTNAME= sdl
PORTVERSION= 1.20.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://bloodgate.com/perl/sdl/pub/
PKGNAMEPREFIX= p5-
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 = (