openbsd-ports/games/prboom/patches/patch-configure
jsg b979efe932 Update to 2.4.5
ok jolan@
2006-09-22 05:54:38 +00:00

34 lines
869 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2006/09/22 05:54:38 jsg Exp $
--- configure.orig Fri Sep 22 13:13:57 2006
+++ configure Fri Sep 22 13:14:38 2006
@@ -1914,9 +1914,9 @@ if test "${with_waddir+set}" = set; then
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;
@@ -6005,7 +6005,7 @@ if test "${ac_cv_lib_png_png_create_info
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
@@ -6067,7 +6067,7 @@ if test $ac_cv_lib_png_png_create_info_s
#define HAVE_LIBPNG 1
_ACEOF
- LIBS="-lpng $LIBS"
+ LIBS="-lpng -lz $LIBS"
fi