Bug 63951

Summary: Maintainer-update: mail/spamd, sysutils/pf{stat,top} - update dependencies for pf in base
Product: Ports & Packages Reporter: Max Laier <max>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pfstat.diff
none
spamd.diff none

Description Max Laier 2004-03-08 23:40:13 UTC
	Update dependencies as pf is now part of the base system.

Fix: Note: portlint WARNS about this, but I don't know how to do it
	another/better way. Open to suggestions. It builds okay however.
	
	Sorry for the bulk update, but this just belongs together.

Index: sysutils/pftop/Makefile
===================================================================
RCS file: /cvsdrop/mlaier/fcvs/ports/sysutils/pftop/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- sysutils/pftop/Makefile	6 Feb 2004 13:12:27 -0000	1.2
+++ sysutils/pftop/Makefile	8 Mar 2004 23:09:49 -0000
@@ -14,17 +14,10 @@
 MAINTAINER=	max@love2party.net
 COMMENT=	Utility for real-time display of statistics for pf
 
-BUILD_DEPENDS=	${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
-.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
-BUILD_DEPENDS+=${LOCALBASE}/include/pf/altq/altq.h:${PORTSDIR}/security/pf
-.endif
-RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
-
 MAN8=		pftop.8
 
 MANCOMPRESSED=	no
 
-CFLAGS+=	-I${LOCALBASE}/include/pf
 MAKE_ARGS=	LOCALBASE="${PREFIX}" OSLEVEL=34
 .if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
 CFLAGS+=	-DHAVE_ALTQ=1
@@ -34,6 +27,16 @@
 
 .if ${OSVERSION} < 500000
 IGNORE=		"Only for 5.0 and above"
+.endif
+
+.if ${OSVERSION} < 502106
+BUILD_DEPENDS=	${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
+.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
+BUILD_DEPENDS+=${LOCALBASE}/include/pf/altq/altq.h:${PORTSDIR}/security/pf
+.endif
+RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
+
+CFLAGS+=	-I${LOCALBASE}/include/pf
 .endif
 
 PLIST_FILES=	sbin/pftop
--- pftop.diff ends here ---
Comment 1 Oliver Braun freebsd_committer freebsd_triage 2004-03-09 00:05:23 UTC
State Changed
From-To: open->closed

Committed, thanks!