diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-13 00:44:42 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-13 00:44:42 +0800 |
commit | 66fa7a4243b0801adf283d41e6231da312f1a5bb (patch) | |
tree | 597ba75c3f13d4081bd73db80117da19f4eb919f | |
parent | 34756d1bcc3125ee2bbc6a961878917b0ce7f8d2 (diff) | |
download | marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.tar marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.tar.gz marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.tar.bz2 marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.tar.lz marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.tar.xz marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.tar.zst marcuscom-ports-66fa7a4243b0801adf283d41e6231da312f1a5bb.zip |
Fix build on 4.X.
Submitted by: luigi
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7738 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | net/avahi/Makefile | 7 | ||||
-rw-r--r-- | net/avahi/files/patch-avahi-core_dns.c | 10 |
2 files changed, 12 insertions, 5 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile index 8e57ef215..e04898b53 100644 --- a/net/avahi/Makefile +++ b/net/avahi/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/net/avahi/Makefile,v 1.17 2006/10/07 19:44:08 marcus Exp $ +# $MCom: ports/net/avahi/Makefile,v 1.18 2006/10/11 05:40:17 marcus Exp $ PORTNAME= avahi PORTVERSION= 0.6.14 @@ -23,6 +23,7 @@ USE_GNOME?= gnomehack ltverhack glib20 USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 USE_LDCONFIG= yes +USE_GETOPT_LONG=yes CONFIGURE_ARGS?=--with-distro=freebsd \ --with-dbus-system-address=unix:path=/var/run/dbus/dbus.pipe \ --disable-qt3 \ @@ -57,10 +58,6 @@ OPTIONS= GTK2 "Build a GTK+ 2 browser utility" off \ .include <bsd.port.pre.mk> .if !defined(AVAHI_SLAVE) -.if ${OSVERSION} < 500000 -IGNORE= does not work on FreeBSD 4.X -.endif - .if defined(WITH_LIBDNS) CONFIGURE_ARGS+=--enable-compat-libdns_sd PLIST_SUB+= LIBDNS="" diff --git a/net/avahi/files/patch-avahi-core_dns.c b/net/avahi/files/patch-avahi-core_dns.c new file mode 100644 index 000000000..3c24721e5 --- /dev/null +++ b/net/avahi/files/patch-avahi-core_dns.c @@ -0,0 +1,10 @@ +--- avahi-core/dns.c.orig Thu Oct 12 12:43:19 2006 ++++ avahi-core/dns.c Thu Oct 12 12:43:31 2006 +@@ -28,6 +28,7 @@ + #include <stdio.h> + #include <assert.h> + ++#include <sys/types.h> + #include <netinet/in.h> + + #include <avahi-common/defs.h> |