Index: head/net-mgmt/driftnet/Makefile =================================================================== --- head/net-mgmt/driftnet/Makefile (revision 517609) +++ head/net-mgmt/driftnet/Makefile (revision 517610) @@ -1,37 +1,38 @@ # Created by: Simon 'corecode' Schubert # $FreeBSD$ PORTNAME= driftnet PORTVERSION= 1.2.1 DISTVERSIONPREFIX= v CATEGORIES= net-mgmt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Tool to grab images out of (your) TCP connections LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png BUILD_DEPENDS= makedepend:devel/makedepend GNU_CONFIGURE= yes USES= autoreconf gettext-runtime gmake gnome jpeg localbase:ldflags \ pkgconfig xorg +USE_CSTD= c99 USE_GITHUB= yes USE_GNOME= gtk20 USE_XORG= x11 xext xi GH_ACCOUNT= deiv CONFIGURE_ARGS+= --disable-http-display PLIST_FILES= bin/driftnet man/man1/driftnet.1.gz PORTDOCS= * INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS .include Index: head/net-mgmt/driftnet/files/patch-configure.ac =================================================================== --- head/net-mgmt/driftnet/files/patch-configure.ac (revision 517609) +++ head/net-mgmt/driftnet/files/patch-configure.ac (revision 517610) @@ -1,11 +1,20 @@ ---- configure.ac.orig 2018-09-15 19:08:05 UTC +--- configure.ac.orig 2019-10-19 17:01:57 UTC +++ configure.ac @@ -22,7 +22,7 @@ build_linux=no build_mac=no case "${host_os}" in - linux*) + linux*|freebsd*) build_linux=yes ;; cygwin*|mingw*) +@@ -69,7 +69,7 @@ AC_ARG_ENABLE([debug], + [enable_debug=yes]) + + if test "x$enable_debug" = xyes; then +- CFLAGS="-O2 -g -DDEBUG" ++ CFLAGS+="-O2 -g -DDEBUG" + else + CFLAGS="-O2 -DNDEBUG" + fi