diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2010-05-03 09:14:33 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2010-05-03 09:14:33 +0000 |
commit | 35ecf908bdd56cdc27f2ba99b930a55302140a14 (patch) | |
tree | 546a5bffcf5e82432c5b6a2f5757436a84a721f6 /sysutils/hyperic-sigar | |
parent | d4d4bd1227d0aac0f01932fd390cc09b9fdba721 (diff) | |
download | ports-35ecf908bdd56cdc27f2ba99b930a55302140a14.tar.gz ports-35ecf908bdd56cdc27f2ba99b930a55302140a14.zip |
Add SHLIB_MAJOR.
Notes
Notes:
svn path=/head/; revision=253604
Diffstat (limited to 'sysutils/hyperic-sigar')
-rw-r--r-- | sysutils/hyperic-sigar/Makefile | 7 | ||||
-rw-r--r-- | sysutils/hyperic-sigar/pkg-plist | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/hyperic-sigar/Makefile b/sysutils/hyperic-sigar/Makefile index 85d49e5f500b..85f2bcceb41e 100644 --- a/sysutils/hyperic-sigar/Makefile +++ b/sysutils/hyperic-sigar/Makefile @@ -7,6 +7,7 @@ PORTNAME= hyperic-sigar PORTVERSION= 1.6.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF MASTER_SITE_SUBDIR= sigar/sigar/${PORTVERSION:C/\.[0-9]+$//} @@ -23,6 +24,9 @@ USE_ANT= yes USE_PERL5_BUILD=yes USE_LDCONFIG= yes +SHLIB_MAJOR= 0 +PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" + .include <bsd.port.pre.mk> .if ${OSVERSION} > 900007 @@ -32,7 +36,8 @@ BROKEN= fails to build with new utmpx do-install: ${MKDIR} ${PREFIX}/include ${PREFIX}/lib ${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/sigar-bin/include/*.h ${PREFIX}/include/ - ${INSTALL_DATA} ${WRKSRC}/sigar-bin/lib/libsigar-*.so ${PREFIX}/lib/libsigar.so + ${INSTALL_DATA} ${WRKSRC}/sigar-bin/lib/libsigar-*.so ${PREFIX}/lib/libsigar.so.${SHLIB_MAJOR} + ${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> diff --git a/sysutils/hyperic-sigar/pkg-plist b/sysutils/hyperic-sigar/pkg-plist index c13b08ccb065..6d598ca6b6b2 100644 --- a/sysutils/hyperic-sigar/pkg-plist +++ b/sysutils/hyperic-sigar/pkg-plist @@ -3,5 +3,6 @@ include/sigar_fileinfo.h include/sigar_format.h include/sigar_log.h include/sigar_ptql.h +lib/libsigar.so.%%SHLIB_MAJOR%% lib/libsigar.so %%JAVAJARDIR%%/sigar.jar |