freebsd-ports/www/crawl/files/patch-configure
2003-12-21 18:39:12 +00:00

19 lines
751 B
Text

$FreeBSD$
--- configure.orig Sun Dec 21 12:18:11 2003
+++ configure Sun Dec 21 12:18:28 2003
@@ -2545,11 +2545,11 @@
*)
echo "$as_me:$LINENO: result: $withval" >&5
echo "${ECHO_T}$withval" >&6
- if test -f $withval/event.h -a -f $withval/libevent.a; then
+ if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
owd=`pwd`
if cd $withval; then withval=`pwd`; cd $owd; fi
- EVENTINC="-I$withval"
- EVENTLIB="-L$withval -levent"
+ EVENTINC="-I$withval/include"
+ EVENTLIB="-L$withval/lib -levent"
else
{ { echo "$as_me:$LINENO: error: event.h or libevent.a not found in $withval" >&5
echo "$as_me: error: event.h or libevent.a not found in $withval" >&2;}