From e94f492aad29492818592ec694feef44cfcf4745 Mon Sep 17 00:00:00 2001 From: sobomax Date: Tue, 23 Jan 2001 17:40:51 +0000 Subject: Honour SDL_CONFIG make var to be in line with another SDL ports. --- games/amphetamine/files/patch-aa | 11 +++++++---- games/amphetamine/files/patch-src_SoundList.hpp | 24 ++++++++++++++++++++++++ games/amphetamine/files/patch-src_System.hpp | 14 ++++++++++++++ 3 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 games/amphetamine/files/patch-src_SoundList.hpp create mode 100644 games/amphetamine/files/patch-src_System.hpp (limited to 'games/amphetamine/files') diff --git a/games/amphetamine/files/patch-aa b/games/amphetamine/files/patch-aa index 2cf9ddfc2c0b..036909d4b3f7 100644 --- a/games/amphetamine/files/patch-aa +++ b/games/amphetamine/files/patch-aa @@ -1,5 +1,8 @@ + +$FreeBSD$ + --- Makefile.orig Sun Feb 27 15:45:57 2000 -+++ Makefile Mon Jun 5 14:43:04 2000 ++++ Makefile Mon Jan 22 23:14:32 2001 @@ -5,14 +5,14 @@ # User settings #=============== @@ -14,7 +17,7 @@ USE_LIB_XPM := TRUE -SDL_HEADERS := `sdl-config --cflags` -+SDL_HEADERS := `${LOCALBASE}/bin/sdl-config --cflags` ++SDL_HEADERS := `$(SDL_CONFIG) --cflags` # For framerate dislpay (doesn't work yet) USE_LIB_SGE := FLASE @@ -47,7 +50,7 @@ # linker -LOADLIBES := -lm `sdl-config --libs` -+LOADLIBES := -lm `${LOCALBASE}/bin/sdl-config --libs` ++LOADLIBES := -lm `$(SDL_CONFIG) --libs` ifeq ($(USE_LIB_XPM),TRUE) LOADLIBES := $(LOADLIBES) -lXpm -lXt @@ -56,7 +59,7 @@ endif -LDFLAGS = -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -+LDFLAGS = -L${X11BASE}/lib ++LDFLAGS = -L$(X11BASE)/lib .PHONY : default default : amph diff --git a/games/amphetamine/files/patch-src_SoundList.hpp b/games/amphetamine/files/patch-src_SoundList.hpp new file mode 100644 index 000000000000..6bbafc7a0773 --- /dev/null +++ b/games/amphetamine/files/patch-src_SoundList.hpp @@ -0,0 +1,24 @@ + +$FreeBSD$ + +--- src/SoundList.hpp 2001/01/22 21:09:51 1.1 ++++ src/SoundList.hpp 2001/01/22 21:10:20 +@@ -6,9 +6,9 @@ + #define _AMPH_SOUND_LIST_ + + extern "C" { +-#include +-#include +-#include ++#include ++#include ++#include + } + + class CSound; +@@ -55,4 +55,4 @@ + SoundState *first, *prev, *current; + }; + +-#endif ++#endif diff --git a/games/amphetamine/files/patch-src_System.hpp b/games/amphetamine/files/patch-src_System.hpp new file mode 100644 index 000000000000..7afa10225646 --- /dev/null +++ b/games/amphetamine/files/patch-src_System.hpp @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/System.hpp 2001/01/22 21:09:51 1.1 ++++ src/System.hpp 2001/01/22 21:10:27 +@@ -9,7 +9,7 @@ + #include "AmpHead.hpp" + + extern "C" { +-#include ++#include + } + + #ifndef INSTALL_DIR -- cgit