aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/driftnet/Makefile2
-rw-r--r--net-mgmt/driftnet/files/patch-Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/driftnet/Makefile b/net-mgmt/driftnet/Makefile
index 95d5fb3397d3..77fd386c129d 100644
--- a/net-mgmt/driftnet/Makefile
+++ b/net-mgmt/driftnet/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= http://www.ex-parrot.com/~chris/driftnet/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= A Tool to grab images out of (your) TCP connections
-LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
+LIB_DEPENDS= gif.5:${PORTSDIR}/graphics/giflib \
jpeg.11:${PORTSDIR}/graphics/jpeg
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
diff --git a/net-mgmt/driftnet/files/patch-Makefile b/net-mgmt/driftnet/files/patch-Makefile
index 1701d03937cf..f95d6def2837 100644
--- a/net-mgmt/driftnet/files/patch-Makefile
+++ b/net-mgmt/driftnet/files/patch-Makefile
@@ -27,7 +27,7 @@
-CFLAGS += `gtk-config --cflags`
-LDLIBS += -ljpeg -lungif `gtk-config --libs`
+CFLAGS += ${PTHREAD_CFLAGS} `${GTK_CONFIG} --cflags`
-+LDLIBS += -ljpeg -lungif `${GTK_CONFIG} --libs`
++LDLIBS += -ljpeg -lgif `${GTK_CONFIG} --libs`
# Alternatively, you can build a version of driftnet which can only be used
# in `adjunct' mode as the back end for some other image-processing program. To