diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-25 21:06:14 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-25 21:06:14 +0000 |
commit | 895e23377b141df1b8b2c5a30d639e0985a0b930 (patch) | |
tree | f10cf40671a1902facd0f65572e88a1a6e864fb5 /games/ketm/patches | |
parent | 8cca3676185b500d81f8d983b60fcfd62c0b3deb (diff) | |
download | pkgsrc-895e23377b141df1b8b2c5a30d639e0985a0b930.tar.gz |
Fixed "test ==" and pkglint warnings.
Diffstat (limited to 'games/ketm/patches')
-rw-r--r-- | games/ketm/patches/patch-ad | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games/ketm/patches/patch-ad b/games/ketm/patches/patch-ad new file mode 100644 index 00000000000..35bd44730f4 --- /dev/null +++ b/games/ketm/patches/patch-ad @@ -0,0 +1,26 @@ +$NetBSD: patch-ad,v 1.1 2006/10/25 21:06:14 rillig Exp $ + +--- Configure.orig 2001-09-13 13:15:28.000000000 +0200 ++++ Configure 2006-10-25 23:02:00.000000000 +0200 +@@ -54,15 +54,12 @@ else + fi + + +-if [ "${OS}" == "BSD" ]; then +- LDFLAGS="`sdl-config --libs` -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86misc -lXxf86vm" +-elif [ "${OS}" == "Linux" ]; then +- LDFLAGS="`sdl-config --libs`" +-elif [ "${OS}" == "BeOS" ]; then +- LDFLAGS="`sdl-config --libs`" +-elif [ "${OS}" == "UNIX" ]; then +- LDFLAGS="`sdl-config --libs`" +-fi ++case "$OS" in ++BSD) LDFLAGS="`sdl-config --libs` -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86misc -lXxf86vm";; ++Linux) LDFLAGS="`sdl-config --libs`";; ++BeOS) LDFLAGS="`sdl-config --libs`";; ++UNIX) LDFLAGS="`sdl-config --libs`";; ++esac + + echo -n "Checking Release Type..." + if [ "${type}" == "debug" ]; then |