openbsd-ports/net/kismet/patches/patch-configure
espie 14f3555991 fix WANTLIB, make sure the pseudo-flavor is a pseudo-flavor (don't link
non gpsmap parts with libz), and thus bump REVISION.
2010-11-11 14:11:34 +00:00

22 lines
769 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2010/11/11 14:11:34 espie Exp $
--- configure.orig Mon May 12 22:14:14 2008
+++ configure Thu Nov 11 15:01:31 2010
@@ -9474,7 +9474,7 @@ if test $ac_cv_lib_z_gzopen = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBZ 1
_ACEOF
- LIBS="$LIBS -lz" libz="yes"
+ libz="yes"
else
{ echo "$as_me:$LINENO: WARNING: Unable to find libz compression" >&5
echo "$as_me: WARNING: Unable to find libz compression" >&2;}
@@ -9877,7 +9877,7 @@ sharedatadir=`(
test "$exec_prefix" = NONE && exec_prefix=${prefix}
eval echo "$sharedatadir"
)`
-sharedatadir=${sharedatadir}
+eval sharedatadir=${sharedatadir}
ac_config_files="$ac_config_files Makefile extra/buzzme/Makefile extra/Makefile conf/kismet.conf conf/kismet_ui.conf"