From e638b19204842f01e92a20afe6af770568d29d22 Mon Sep 17 00:00:00 2001 From: fgsch Date: Wed, 12 Oct 2005 05:39:32 +0000 Subject: [PATCH] sync with gd update; feedback from several ppl. --- net/pfstat/Makefile | 5 ++++- net/pfstat/patches/patch-Makefile | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 net/pfstat/patches/patch-Makefile diff --git a/net/pfstat/Makefile b/net/pfstat/Makefile index 71b1d27c19b..828af4669c1 100644 --- a/net/pfstat/Makefile +++ b/net/pfstat/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.9 2004/12/16 00:31:24 alek Exp $ +# $OpenBSD: Makefile,v 1.10 2005/10/12 05:39:32 fgsch Exp $ COMMENT= "packet filter statistics visualization" DISTNAME= pfstat-1.7 +PKGNAME= ${DISTNAME}p0 CATEGORIES= net MASTER_SITES= http://www.benzedrine.cx/ @@ -16,6 +17,8 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c jpeg m png ttf z +MODULES= converters/libiconv + LIB_DEPENDS= gd.18::graphics/gd do-install: diff --git a/net/pfstat/patches/patch-Makefile b/net/pfstat/patches/patch-Makefile new file mode 100644 index 00000000000..5931e4e977e --- /dev/null +++ b/net/pfstat/patches/patch-Makefile @@ -0,0 +1,14 @@ +$OpenBSD: patch-Makefile,v 1.1 2005/10/12 05:39:33 fgsch Exp $ +--- Makefile.orig Thu Sep 22 03:21:48 2005 ++++ Makefile Thu Sep 22 03:22:00 2005 +@@ -4,8 +4,8 @@ PROG= pfstat + SRCS= pfstat.c parse.y + CFLAGS+= -Wall + CFLAGS+= -I${LOCALBASE}/include +-LDFLAGS+= -L${LOCALBASE}/lib +-LDFLAGS+= -lgd -lm -lpng -lz -ljpeg -lttf ++LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ++LDFLAGS+= -lgd -lm -lpng -lz -ljpeg -lttf -liconv + NOMAN= 1 + + .include