openbsd-ports/games/prboom/patches/patch-configure

34 lines
871 B
Plaintext
Raw Normal View History

2006-11-19 22:15:36 -05:00
$OpenBSD: patch-configure,v 1.6 2006/11/20 03:15:36 jolan Exp $
--- configure.orig Sun Nov 19 11:45:22 2006
+++ configure Sun Nov 19 21:12:41 2006
@@ -1913,9 +1913,9 @@ if test "${with_waddir+set}" = set; then
2006-09-22 01:54:38 -04:00
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
2003-09-24 04:30:09 -04:00
2006-09-22 01:54:38 -04:00
fi;
2006-11-19 22:15:36 -05:00
@@ -5999,7 +5999,7 @@ if test "${ac_cv_lib_png_png_create_info
2006-04-12 22:27:24 -04:00
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpng $LIBS"
2006-09-22 01:54:38 -04:00
+LIBS="-lpng -lz $LIBS"
2006-04-12 22:27:24 -04:00
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
2006-11-19 22:15:36 -05:00
@@ -6061,7 +6061,7 @@ if test $ac_cv_lib_png_png_create_info_s
2006-04-12 22:27:24 -04:00
#define HAVE_LIBPNG 1
_ACEOF
- LIBS="-lpng $LIBS"
+ LIBS="-lpng -lz $LIBS"
fi