$OpenBSD: patch-avahi-autoipd_Makefile_am,v 1.2 2010/07/17 14:12:38 ajacoutot Exp $
--- avahi-autoipd/Makefile.am.orig	Mon Jun 28 18:23:15 2010
+++ avahi-autoipd/Makefile.am	Mon Jul  5 12:04:12 2010
@@ -44,6 +44,9 @@ avahi_autoipd_LDADD = $(AM_LDADD) $(LIBDAEMON_LIBS)
 if TARGET_FREEBSD
 avahi_autoipd_SOURCES += iface-bsd.c
 avahi_autoipd_LDADD += -lpcap
+ifelse TARGET_OPENBSD
+avahi_autoipd_SOURCES += iface-bsd.c
+avahi_autoipd_LDADD += -lpcap
 else
 avahi_autoipd_SOURCES += iface-linux.c
 endif
@@ -53,6 +56,9 @@ nodist_pkgsysconf_SCRIPTS = avahi-autoipd.action
 if TARGET_FREEBSD
 avahi-autoipd.action: avahi-autoipd.action.bsd
 	$(AM_V_GEN)cp $< $@
+ifelse TARGET_OPENBSD
+avahi_autoipd_SOURCES += iface-bsd.c
+avahi_autoipd_LDADD += -lpcap
 else
 avahi-autoipd.action: avahi-autoipd.action.linux
 	$(AM_V_GEN)cp $< $@
