openbsd-ports/games/abuse/patches/patch-configure_ac
jasper c4d9c37534 various tweaks from brad and maintainer
- regen WANTLIB
- tweak post-install
- group BUILD_DEPENDS
- move data-files to a proper dir
2011-04-21 15:25:08 +00:00

26 lines
1005 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.2 2011/04/21 15:25:08 jasper Exp $
--- configure.ac.orig Sun Mar 2 20:42:24 2008
+++ configure.ac Thu Apr 21 17:20:55 2011
@@ -18,7 +18,7 @@ AC_PATH_X
X_LIBS=-L$x_libraries
dnl Figure out where the datafiles will be
-EXPDATADIR="-DEXPDATADIR=\\\"$datadir/games/abuse\\\""
+EXPDATADIR="-DEXPDATADIR=\\\"$datadir/abuse/frabs\\\""
AC_SUBST(EXPDATADIR)
dnl Checks for libraries
@@ -37,10 +37,10 @@ SDL_VERSION=1.1.6
AM_PATH_SDL($SDL_VERSION, :,
AC_MSG_ERROR([*** SDL version $SDL_VERSION or above not found!]))
CFLAGS="$CFLAGS $SDL_CFLAGS"
-LIBS="$LIBS $SDL_LIBS $X_LIBS -L/usr/lib"
+LIBS="$LIBS $SDL_LIBS $X_LIBS"
# Optimizations
-CPPFLAGS="${CPPFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer"
+CPPFLAGS="${CPPFLAGS} -O2 -fno-strength-reduce -fomit-frame-pointer"
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
CPPFLAGS="${CPPFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Waggregate-return -Wsign-compare"