- build with giflib

This commit is contained in:
Dirk Meyer 2012-02-18 19:26:46 +00:00
parent a5a22a7612
commit ed848e6db8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291746
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ MASTER_SITES= http://www.ex-parrot.com/~chris/driftnet/ \
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= A Tool to grab images out of (your) TCP connections 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 jpeg.11:${PORTSDIR}/graphics/jpeg
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend

View file

@ -27,7 +27,7 @@
-CFLAGS += `gtk-config --cflags` -CFLAGS += `gtk-config --cflags`
-LDLIBS += -ljpeg -lungif `gtk-config --libs` -LDLIBS += -ljpeg -lungif `gtk-config --libs`
+CFLAGS += ${PTHREAD_CFLAGS} `${GTK_CONFIG} --cflags` +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 # 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 # in `adjunct' mode as the back end for some other image-processing program. To