aboutsummaryrefslogtreecommitdiff
path: root/sysutils/symon/Makefile
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-05-22 13:06:44 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-05-22 13:06:44 +0000
commitce272c24aff6095e90481d70b1eefbbbb95f5414 (patch)
tree54f03c23221fecce8f4d75231be5ce9659d41abc /sysutils/symon/Makefile
parent8a3fe1db3792ebbf9f580d1f03168fdffd6df0a8 (diff)
downloadports-ce272c24aff6095e90481d70b1eefbbbb95f5414.tar.gz
ports-ce272c24aff6095e90481d70b1eefbbbb95f5414.zip
- Update to 2.80
- Update my maintainer address - Unbreak linking on 6.4 by adding -pthread to LDFLAGS
Notes
Notes: svn path=/head/; revision=254832
Diffstat (limited to 'sysutils/symon/Makefile')
-rw-r--r--sysutils/symon/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index 6f1dcbaff27f..bb53aa56c74e 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= symon
-PORTVERSION= 2.79
-PORTREVISION= 2
+PORTVERSION= 2.80
CATEGORIES= sysutils
MASTER_SITES= http://www.xs4all.nl/~wpd/symon/philes/
-MAINTAINER= uqs@spoerlein.net
+MAINTAINER= uqs@FreeBSD.org
COMMENT= Performance and information monitoring tool
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -53,9 +52,12 @@ SUBDIR+= client
MAKE_ARGS+= SUBDIR="${SUBDIR}" RRDDIR="${LOCALBASE}"
-# Symux doesn't need additional LIBS.
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
post-patch:
- @${REINPLACE_CMD} 's/^LIBS+=/LIBS=/' ${WRKSRC}/symux/Makefile
+ @${REINPLACE_CMD} 's/^LIBS+=/LIBS= -pthread /' ${WRKSRC}/symux/Makefile
+.endif
pre-install:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@@ -63,4 +65,4 @@ pre-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>