openbsd-ports/games/prboom/patches/patch-configure
bentley 11950d7f77 Update to prboom-1.5.0.
comments & ok rfreeman@
2013-03-31 21:09:32 +00:00

34 lines
922 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2013/03/31 21:09:32 bentley Exp $
--- configure.orig Sun Nov 9 12:22:17 2008
+++ configure Wed Mar 27 00:14:46 2013
@@ -2422,9 +2422,9 @@ if test "${with_waddir+set}" = set; then
withval=$with_waddir; DOOMWADDIR="$withval"
else
if test "x$prefix" != xNONE; then
- DOOMWADDIR="$prefix/share/games/doom"
+ DOOMWADDIR="$prefix/share/prboom"
else
- DOOMWADDIR="$ac_default_prefix/share/games/doom"
+ DOOMWADDIR="$ac_default_prefix/share/prboom"
fi
fi
@@ -6814,7 +6814,7 @@ if test "${ac_cv_lib_png_png_create_info_struct+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpng $LIBS"
+LIBS="-lpng -lz $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -6874,7 +6874,7 @@ if test $ac_cv_lib_png_png_create_info_struct = yes; t
#define HAVE_LIBPNG 1
_ACEOF
- LIBS="-lpng $LIBS"
+ LIBS="-lpng -lz $LIBS"
fi