mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
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)
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
--- 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
|
|
|
|
use strict;
|
|
+use Config;
|
|
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 = (
|
|
'NAME' => 'SDL_perl',
|
|
- 'VERSION_FROM' => 'SDL.pm',
|
|
+ 'VERSION_FROM' => 'lib/SDL.pm',
|
|
'LIBS' => [ join( " ", "$sdl_libs",
|
|
map { $ext{$_}{exists} ? "-l$_" : '' } (sort keys %ext),
|
|
)
|