1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update to 1.6.4

PR:             ports/160205
Submitted by:   Radim Kolar <hsn@sendmail.cz>
Approved by:    maintainer timeout (skv ; 170 days)
This commit is contained in:
Philip M. Gollucci 2012-02-16 04:39:19 +00:00
parent 4bc78c6642
commit a65ecee3d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291510
3 changed files with 4 additions and 32 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= hyperic-sigar
PORTVERSION= 1.6.3
PORTREVISION= 1
PORTVERSION= 1.6.4
CATEGORIES= sysutils
MASTER_SITES= SF
MASTER_SITE_SUBDIR= sigar/sigar/${PORTVERSION:C/\.[0-9]+$//}
@ -27,12 +26,6 @@ USE_LDCONFIG= yes
SHLIB_MAJOR= 0
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
do-install:
${MKDIR} ${PREFIX}/include ${PREFIX}/lib ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/sigar-bin/include/*.h ${PREFIX}/include/
@ -40,4 +33,4 @@ do-install:
${LN} -sf ${PREFIX}/lib/libsigar.so.${SHLIB_MAJOR} ${PREFIX}/lib/libsigar.so
${INSTALL_DATA} ${WRKSRC}/sigar-bin/lib/sigar.jar ${JAVAJARDIR}/
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (hyperic-sigar-1.6.3-src.tar.gz) = 3583e8f6d0cb166d27717d31e7932664ac0f57a4d58df769989dff9610e8c900
SIZE (hyperic-sigar-1.6.3-src.tar.gz) = 1375297
SHA256 (hyperic-sigar-1.6.4-src.tar.gz) = dcf8348e3979b6f5d9b129571cf4bbc8fce87b866f5b9a682880d99f6c3e692f
SIZE (hyperic-sigar-1.6.4-src.tar.gz) = 1253729

View File

@ -1,21 +0,0 @@
--- ../../src/os/darwin/darwin_sigar.c
+++ ../../src/os/darwin/darwin_sigar.c
@@ -23,7 +23,9 @@
#include <sys/param.h>
#include <sys/mount.h>
+#if !(defined(__FreeBSD__) && (__FreeBSD_version >= 800000))
#include <nfs/rpcv2.h>
+#endif
#include <nfs/nfsproto.h>
#ifdef DARWIN
@@ -3146,7 +3148,7 @@
return SIGAR_OK;
}
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) && /*XXX*/ (__FreeBSD_version < 800000)
#define _KERNEL
#include <sys/file.h>