openbsd-ports/net/arpd/patches/patch-configure_in
2005-04-30 12:59:58 +00:00

22 lines
596 B
Plaintext

$OpenBSD: patch-configure_in,v 1.2 2005/04/30 12:59:58 alek Exp $
--- configure.in.orig Sun Feb 9 19:30:33 2003
+++ configure.in Sat Apr 30 14:57:01 2005
@@ -81,6 +81,8 @@ AC_ARG_WITH(libevent,
then
EVENTINC="-I${prefix}/include"
EVENTLIB="-L${prefix}/lib -levent"
+ elif test -f /usr/include/event.h; then
+ EVENTLIB="-levent"
else
AC_MSG_RESULT(no)
AC_ERROR(libevent not found)
@@ -158,7 +160,7 @@ dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_REPLACE_FUNCS(daemon)
-CFLAGS=$DNETINC
+CFLAGS="$CFLAGS $DNETINC"
LIBS=$DNETLIB
dnl see if dnet works