7cc1504616
tests & ok benoit@, thanks
21 lines
646 B
Plaintext
21 lines
646 B
Plaintext
$OpenBSD: patch-configure,v 1.15 2012/07/16 07:39:31 giovanni Exp $
|
|
--- configure.orig Sat Apr 7 10:16:08 2012
|
|
+++ configure Wed Jul 11 15:05:35 2012
|
|
@@ -6311,6 +6311,7 @@ else
|
|
extern char pcap_version[];
|
|
int main() {
|
|
int major, minor1, minor2;
|
|
+ exit(0); /* fool it, use our libpcap */
|
|
sscanf(pcap_version,"%d.%d.%d", &major, &minor1, &minor2);
|
|
if (major > 0)
|
|
exit(0);
|
|
@@ -6726,7 +6727,7 @@ if test "${with_liblua+set}" = set; then :
|
|
no_lua="yes"
|
|
;;
|
|
*)
|
|
- CPPFLAGS="-I$with_liblua/include $CPPFLAGS"
|
|
+ CPPFLAGS="-I$with_liblua/include/lua-5.1 $CPPFLAGS"
|
|
LDFLAGS="-L$with_liblua/lib $LDFLAGS"
|
|
;;
|
|
esac
|