aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 10:24:29 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 10:24:29 +0800
commit27bcde2bbeb9705ab9909fa624324d2dabc8a3c3 (patch)
tree9732a636b574b55c7fbddc861c58994a5b2bb9d5 /net-mgmt
parent390824965052cc70180f9260020ce05f7bac73b3 (diff)
downloadfreebsd-ports-graphics-27bcde2bbeb9705ab9909fa624324d2dabc8a3c3.tar.gz
freebsd-ports-graphics-27bcde2bbeb9705ab9909fa624324d2dabc8a3c3.tar.zst
freebsd-ports-graphics-27bcde2bbeb9705ab9909fa624324d2dabc8a3c3.zip
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arpscan/Makefile8
-rw-r--r--net-mgmt/flowd/Makefile8
-rw-r--r--net-mgmt/irrtoolset/Makefile10
-rw-r--r--net-mgmt/netmond/Makefile8
-rw-r--r--net-mgmt/nsca/Makefile6
-rw-r--r--net-mgmt/pftabled/Makefile8
-rw-r--r--net-mgmt/trafd/Makefile10
-rw-r--r--net-mgmt/weplab/Makefile8
8 files changed, 9 insertions, 57 deletions
diff --git a/net-mgmt/arpscan/Makefile b/net-mgmt/arpscan/Makefile
index b736629b606..7fc72bd401a 100644
--- a/net-mgmt/arpscan/Makefile
+++ b/net-mgmt/arpscan/Makefile
@@ -22,10 +22,4 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
PLIST_FILES= bin/arpscan
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} <= 500000
-IGNORE= unknown BIOCSETIF error
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/flowd/Makefile b/net-mgmt/flowd/Makefile
index a636d988077..fc43d48a0c5 100644
--- a/net-mgmt/flowd/Makefile
+++ b/net-mgmt/flowd/Makefile
@@ -37,12 +37,6 @@ PLIST_SUB+= WITH_PYTHON=""
PLIST_SUB+= WITH_PYTHON="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-CONFIGURE_ARGS+="ac_cv_sizeof_sa_family_t=1"
-.endif
-
pre-extract:
@${ECHO_MSG} ""
.if defined(WITH_PERL)
@@ -82,4 +76,4 @@ post-install:
FLOWD_USER=${FLOWD_USER} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/irrtoolset/Makefile b/net-mgmt/irrtoolset/Makefile
index e190c3d7faa..9eb991b9999 100644
--- a/net-mgmt/irrtoolset/Makefile
+++ b/net-mgmt/irrtoolset/Makefile
@@ -27,7 +27,7 @@ CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
MAN1= RtConfig.1 peval.1 rpslcheck.1 IRR-Errors.1
MAN3= librpsl.3
-.include <bsd.port.pre.mk>
+ALL_TARGET= depend all
post-extract:
@${RM} ${WRKSRC}/man/man1/CIDRAdvisor.1 ${WRKSRC}/man/man1/prpath.1
@@ -39,10 +39,4 @@ post-patch:
${WRKSRC}/src/irr/birdwhoisc.cc
@${RM} ${WRKSRC}/man/man1/*.orig
-ALL_TARGET= depend all
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/netmond/Makefile b/net-mgmt/netmond/Makefile
index 0b4cada8907..7ad854908d8 100644
--- a/net-mgmt/netmond/Makefile
+++ b/net-mgmt/netmond/Makefile
@@ -83,10 +83,4 @@ do-install:
post-install:
${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/nsca/Makefile b/net-mgmt/nsca/Makefile
index b5f9e9e648b..b2495fc95e5 100644
--- a/net-mgmt/nsca/Makefile
+++ b/net-mgmt/nsca/Makefile
@@ -52,8 +52,4 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= does not build on 4.x
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/pftabled/Makefile b/net-mgmt/pftabled/Makefile
index 4b8e84bb8c8..d7133f24195 100644
--- a/net-mgmt/pftabled/Makefile
+++ b/net-mgmt/pftabled/Makefile
@@ -22,10 +22,4 @@ PLIST_FILES= bin/pftabled-client sbin/pftabled
GNU_CONFIGURE= yes
USE_GMAKE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/trafd/Makefile b/net-mgmt/trafd/Makefile
index af43df0db2e..38ad451a07d 100644
--- a/net-mgmt/trafd/Makefile
+++ b/net-mgmt/trafd/Makefile
@@ -16,15 +16,7 @@ MAINTAINER= bms@FreeBSD.org
COMMENT= The BPF Traffic Collector
CONFLICTS= bpft-4.*
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-RUN_DEPENDS= ${LOCALBASE}/etc/rc.subr:${PORTSDIR}/sysutils/rc_subr
-RCSUBRBASE= ${LOCALBASE}/etc
-.else
RCSUBRBASE= /etc
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafd/trafd ${PREFIX}/bin
@@ -47,4 +39,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/weplab/Makefile b/net-mgmt/weplab/Makefile
index 9277d44d92d..4b8ed2c8663 100644
--- a/net-mgmt/weplab/Makefile
+++ b/net-mgmt/weplab/Makefile
@@ -18,14 +18,8 @@ GNU_CONFIGURE= yes
MAN1= weplab.1
PLIST_FILES= bin/weplab
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= Doesn't build on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -E 's,^(CC|CFLAGS|LDFLAGS) *=,\1 ?=,g' \
${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>