diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-06 11:17:27 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-06 11:17:27 +0000 |
commit | 9135cc6f16f5ed30c02ee6e3c380af70bc822109 (patch) | |
tree | 84fe840ee2345e2f640b1de4085a6716eb31b964 /devel/py-game/files | |
parent | dc00311780379de214e7cd1495b3f53f6565b970 (diff) | |
download | ports-9135cc6f16f5ed30c02ee6e3c380af70bc822109.tar.gz ports-9135cc6f16f5ed30c02ee6e3c380af70bc822109.zip |
Notes
Diffstat (limited to 'devel/py-game/files')
-rw-r--r-- | devel/py-game/files/patch-aa | 51 | ||||
-rw-r--r-- | devel/py-game/files/patch-ab | 13 |
2 files changed, 0 insertions, 64 deletions
diff --git a/devel/py-game/files/patch-aa b/devel/py-game/files/patch-aa deleted file mode 100644 index 42477ad761a1..000000000000 --- a/devel/py-game/files/patch-aa +++ /dev/null @@ -1,51 +0,0 @@ - -$FreeBSD$ - ---- config_unix.py.orig Sat Jan 6 19:18:37 2001 -+++ config_unix.py Tue Feb 20 14:26:38 2001 -@@ -4,8 +4,12 @@ - import os, sys, shutil - from glob import glob - --configcommand = 'sdl-config --version --cflags --libs' -+try: configcommand = os.environ['SDL_CONFIG'] -+except KeyError: configcommand = 'sdl-config' -+configcommand = configcommand + ' --version --cflags --libs' - -+try: localbase = os.environ['LOCALBASE'] -+except KeyError: localbase = '' - - class Dependency: - def __init__(self, name, checkhead, checklib, lib): -@@ -29,7 +33,7 @@ - - - DEPS = [ -- Dependency('SDL', 'SDL.h', 'libSDL.so', 'SDL'), -+ Dependency('SDL', 'SDL.h', 'libSDL-1.1.so', 'SDL-1.1'), - Dependency('FONT', 'SDL_ttf.h', 'libSDL_ttf.so', 'SDL_ttf'), - Dependency('IMAGE', 'SDL_image.h', 'libSDL_image.so', 'SDL_image'), - Dependency('MIXER', 'SDL_mixer.h', 'libSDL_mixer.so', 'SDL_mixer'), -@@ -57,12 +61,16 @@ - flags have been used, which will likely require a little editing.""" - - print 'Hunting dependencies...' -- incdir = libdir = '' -- for arg in configinfo.split(): -- if arg.startswith('-I'): -- incdir = arg[2:] -- elif arg.startswith('-L'): -- libdir = arg[2:] -+ if localbase != '': -+ incdir = localbase + '/include/SDL11' -+ libdir = localbase + '/lib' -+ else: -+ incdir = libdir = '' -+ for arg in configinfo.split(): -+ if arg.startswith('-I'): -+ incdir = arg[2:] -+ elif arg.startswith('-L'): -+ libdir = arg[2:] - #print 'INCDIR', incdir - #print 'LIBDIR', libdir - for d in DEPS: diff --git a/devel/py-game/files/patch-ab b/devel/py-game/files/patch-ab deleted file mode 100644 index 992257eb46fa..000000000000 --- a/devel/py-game/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- Setup.in 2000/12/16 09:11:55 1.1 -+++ Setup.in 2000/12/16 09:12:14 -@@ -4,8 +4,8 @@ - SDL = -I/usr/include/SDL -D_REENTRANT -lSDL - FONT = -lSDL_ttf - IMAGE = -lSDL_image --MIXER = -lSDL_mixer --SMPEG = -lsmpeg -+MIXER = -lSDL_mixer -+SMPEG = -lsmpeg - #--EndConfig - - |