net/avahi-app: Partially revert 3437a65039

The previous change requires running autoreconf, which breaks a lot of things.
I'll patch the configure script instead in the upcoming commit, so leave
Netlink patches intact.

Reported by:	cmt
This commit is contained in:
Gleb Popov 2025-02-22 18:40:00 +03:00
parent 579e7e5b6d
commit 20ff0309ec
2 changed files with 2 additions and 23 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= avahi
PORTVERSION= 0.8
PORTREVISION?= 3 # don't delete, reset to 0, check slave ports
PORTREVISION?= 4 # don't delete, reset to 0, check slave ports
CATEGORIES?= net dns
MASTER_SITES= http://www.avahi.org/download/
PKGNAMESUFFIX?= -app
@ -25,7 +25,7 @@ LIB_DEPENDS?= libexpat.so:textproc/expat2 \
USERS?= ${PORTNAME}
GROUPS?= ${USERS}
USES+= autoreconf alias cpe gettext gmake gnome libtool pathfix pkgconfig
USES+= alias cpe gettext gmake gnome libtool pathfix pkgconfig
USE_GNOME+= glib20 intltool introspection:build
USE_GNOME_SUBR= yes
USE_LDCONFIG= yes
@ -131,9 +131,6 @@ avahi-pre-su-install:
post-install: avahi-post-install
avahi-post-install:
@${RMDIR} ${STAGEDIR}/run
${MV} ${STAGEDIR}${PREFIX}/etc/rc.d/avahi-daemon.sh ${STAGEDIR}${PREFIX}/etc/rc.d/avahi-daemon
${MV} ${STAGEDIR}${PREFIX}/etc/rc.d/avahi-dnsconfd.sh ${STAGEDIR}${PREFIX}/etc/rc.d/avahi-dnsconfd
.if defined(MANPAGES) && ${AVAHI_SLAVE} != gtk
.for f in ${MANPAGES}
${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/share/man/man${f:E}/${f}

View file

@ -1,18 +0,0 @@
--- configure.ac.orig 2020-02-18 07:01:15 UTC
+++ configure.ac
@@ -166,6 +166,15 @@ AC_DEFINE([HAVE_NETLINK],[],[Support for Linux netlink
#include <asm/types.h>
])
+
+#
+# Check for freebsd netlink.h
+#
+AC_CHECK_HEADER(netlink/netlink.h,
+HAVE_NETLINK=yes
+AC_DEFINE([HAVE_NETLINK],[],[Support for FreeBSD netlink])
+, [], [])
+
AM_CONDITIONAL(HAVE_NETLINK, [ test x"$HAVE_NETLINK" = xyes ])
#