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

34 lines
869 B
Plaintext
Raw Normal View History

2006-09-22 01:54:38 -04:00
$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
2003-09-24 04:30:09 -04:00
2006-09-22 01:54:38 -04:00
fi;
@@ -6005,7 +6005,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-09-22 01:54:38 -04:00
@@ -6067,7 +6067,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