diff options
Diffstat (limited to 'net/howl')
-rw-r--r-- | net/howl/Makefile | 5 | ||||
-rw-r--r-- | net/howl/files/patch-src_lib_howl_NotOSX_notosx_mdns.c | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/net/howl/Makefile b/net/howl/Makefile index 16324fe..c392cb6 100644 --- a/net/howl/Makefile +++ b/net/howl/Makefile @@ -18,9 +18,14 @@ USE_GMAKE= yes USE_LIBTOOL_VER=13 INSTALLS_SHLIB= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV+= CFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" +USE_REINPLACE= yes MAN8= mDNSResponder.8 PLIST_SUB= VERSION="${PORTVERSION}" +post-patch: + @${REINPLACE_CMD} -e 's|-pthread||g' ${WRKSRC}/configure + .include <bsd.port.mk> diff --git a/net/howl/files/patch-src_lib_howl_NotOSX_notosx_mdns.c b/net/howl/files/patch-src_lib_howl_NotOSX_notosx_mdns.c new file mode 100644 index 0000000..3f4ed9b --- /dev/null +++ b/net/howl/files/patch-src_lib_howl_NotOSX_notosx_mdns.c @@ -0,0 +1,11 @@ +--- src/lib/howl/NotOSX/notosx_mdns.c.orig Thu Apr 15 10:34:27 2004 ++++ src/lib/howl/NotOSX/notosx_mdns.c Thu Apr 15 10:34:38 2004 +@@ -54,7 +54,7 @@ + #include <salt/assert.h> + #include <salt/log.h> + #include <stdio.h> +- ++#include <sys/time.h> + + #define CACHE_SIZE 750 + |