sync with gd update; feedback from several ppl.

This commit is contained in:
fgsch 2005-10-12 05:39:32 +00:00
parent 5c6511cccb
commit e638b19204
2 changed files with 18 additions and 1 deletions

View File

@ -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:

View File

@ -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 <bsd.prog.mk>