freebsd-ports/net-mgmt/driftnet/Makefile
Jan Beich 0bc54d0efb net-mgmt/driftnet: use clang and unbreak with gcc5 or later
driftnet.o: In function `capture_thread':
src/driftnet.c:89: undefined reference to `packetcapture_dispatch'
options.o: In function `validate_options':
src/options.c:178: undefined reference to `get_default_interface'
media/libmedia.a(media.o): In function `dispatch_image':
src/media/media.c:47: undefined reference to `get_tmpdir'
display/libdisplay.a(display.o): In function `pipe_event':
src/display/display.c:356: undefined reference to `get_tmpdir'
src/display/display.c:346: undefined reference to `get_tmpdir'
collect2: error: ld returned 1 exit status

PR:		216707
Reported by:	antoine (via exp-run)
2017-02-05 03:30:17 +00:00

35 lines
836 B
Makefile

# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD$
PORTNAME= driftnet
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://ftp.openbsd.org/pub/OpenBSD/distfiles/ \
LOCAL/ehaupt
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
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 \
libpng16.so:graphics/png
BUILD_DEPENDS= makedepend:devel/makedepend
GNU_CONFIGURE= yes
USES= autoreconf gettext-runtime gmake jpeg localbase:ldflags pkgconfig
USE_CSTD= gnu89
USE_GNOME= gtk20
USE_XORG= x11 xext xi
PLIST_FILES= bin/driftnet man/man1/driftnet.1.gz
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALL_TARGET= install-strip
.include <bsd.port.mk>