aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/symon
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 14:10:15 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 14:10:15 +0800
commit08fd42a6ba4cfc15ec8814217e373f4372da0992 (patch)
tree2bfa1b92e0b7e94dd901a1f482e54b22aec5571d /sysutils/symon
parent50ef8aeab64606f46790199997daf350fce5ea76 (diff)
downloadfreebsd-ports-gnome-08fd42a6ba4cfc15ec8814217e373f4372da0992.tar.gz
freebsd-ports-gnome-08fd42a6ba4cfc15ec8814217e373f4372da0992.tar.zst
freebsd-ports-gnome-08fd42a6ba4cfc15ec8814217e373f4372da0992.zip
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'sysutils/symon')
-rw-r--r--sysutils/symon/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index 9eb61b0eff7c..d7c6f6252aa9 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -50,14 +50,9 @@ SUBDIR+= client
MAKE_ARGS+= SUBDIR="${SUBDIR}" RRDDIR="${LOCALBASE}"
-.include <bsd.port.pre.mk>
-
-# Symux doesn't need additional LIBS. Symon doesn't need libkvm on FreeBSD 4.x
+# Symux doesn't need additional LIBS.
post-patch:
@${REINPLACE_CMD} 's/^LIBS+=/LIBS=/' ${WRKSRC}/symux/Makefile
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} 's/-lkvm//' ${WRKSRC}/platform/FreeBSD/Makefile.inc
-.endif
pre-install:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@@ -65,4 +60,4 @@ pre-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>