Take over maintainership. Regenerate the tarball from the latest 9.3.

Drop liblwres, which is purely internal.  Add a missing OSVERSION check
to prevent building on 8 or older.  Add an unconditional dependency on
compat10x on 11 or newer.  Use INSTALL_LIB instead of INSTALL_DATA.
This commit is contained in:
Dag-Erling Smørgrav
2015-11-17 21:42:15 +00:00
parent a21ff85c50
commit ffa292464b
4 changed files with 17 additions and 13 deletions

View File

@@ -1,17 +1,15 @@
# $FreeBSD$
PORTNAME= compat9x
PORTVERSION= 9.2.902000.201310
PORTVERSION= 9.3.903000.20151116
CATEGORIES= misc
MASTER_SITES= LOCAL/garga/compat
MASTER_SITES= LOCAL/des
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= des@FreeBSD.org
COMMENT= Convenience package to install the compat9x libraries
LICENSE= BSD2CLAUSE
USES= tar:xz
NO_BUILD= yes
ONLY_FOR_ARCHS= i386 amd64
@@ -22,16 +20,24 @@ USE_LDCONFIG= ${TARGET_DIR}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900000
IGNORE= is for FreeBSD 9.x and newer
.endif
.if ${OSVERSION} >= 1100000
RUN_DEPENDS= compat10x-${ARCH}>=0:${PORTSDIR}/misc/compat10x
.endif
.if ${ARCH} == amd64
USE_LDCONFIG32= ${TARGET32_DIR}
.endif
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR}
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET_DIR})
(cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR})
.if ${ARCH} == amd64
@${MKDIR} ${STAGEDIR}${TARGET32_DIR}
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET32_DIR})
(cd ${WRKSRC}/lib32 && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET32_DIR})
.endif
.include <bsd.port.post.mk>

View File

@@ -1,4 +1,4 @@
SHA256 (compat9x-amd64-9.2.902000.201310.tar.xz) = 26b2419ce293c8b56d747cde713f2e1c5ee36d7d1bf0d294a68364e242b18789
SIZE (compat9x-amd64-9.2.902000.201310.tar.xz) = 2925776
SHA256 (compat9x-i386-9.2.902000.201310.tar.xz) = 72dde64e860996b2a8415bdaa8d42388491d3e4afff522ee79eb332c25d6984e
SIZE (compat9x-i386-9.2.902000.201310.tar.xz) = 1539320
SHA256 (compat9x-amd64-9.3.903000.20151116.tar.xz) = 70ec471d92620de4a59e38a8f7eb6b81a3f4a79efec394ca38ed4fd35f82749d
SIZE (compat9x-amd64-9.3.903000.20151116.tar.xz) = 2906560
SHA256 (compat9x-i386-9.3.903000.20151116.tar.xz) = 1f481e9db5ce7277bd5d58af2cb4bcf7760d9e1a6d481800c83969a06f4f680c
SIZE (compat9x-i386-9.3.903000.20151116.tar.xz) = 1522776

View File

@@ -11,7 +11,6 @@ lib/compat/libkadm5srv.so.10
lib/compat/libkafs5.so.10
lib/compat/libkrb5.so.10
lib/compat/libkvm.so.5
lib/compat/liblwres.so.80
lib/compat/libmd.so.5
lib/compat/libncp.so.4
lib/compat/libodialog.so.7

View File

@@ -11,7 +11,6 @@ lib/compat/libkadm5srv.so.10
lib/compat/libkafs5.so.10
lib/compat/libkrb5.so.10
lib/compat/libkvm.so.5
lib/compat/liblwres.so.80
lib/compat/libmd.so.5
lib/compat/libncp.so.4
lib/compat/libodialog.so.7