summaryrefslogtreecommitdiff
path: root/sysutils/symon
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 06:10:15 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 06:10:15 +0000
commitcc82ac7af1a4b4743ab599432b8c7f24a774e0c8 (patch)
tree6443da11a92be566759454b76c94714222a13560 /sysutils/symon
parentRemove always-false/true conditions based on OSVERSION 500000 (diff)
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200792
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>