From ffa292464bae1f4944b8520993003e088ca2ebef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 17 Nov 2015 21:42:15 +0000 Subject: 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. --- misc/compat9x/Makefile | 20 +++++++++++++------- misc/compat9x/distinfo | 8 ++++---- misc/compat9x/pkg-plist.amd64 | 1 - misc/compat9x/pkg-plist.i386 | 1 - 4 files changed, 17 insertions(+), 13 deletions(-) (limited to 'misc/compat9x') diff --git a/misc/compat9x/Makefile b/misc/compat9x/Makefile index 6f4082bbded2..28d4a9df6dd2 100644 --- a/misc/compat9x/Makefile +++ b/misc/compat9x/Makefile @@ -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 +.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 diff --git a/misc/compat9x/distinfo b/misc/compat9x/distinfo index 17be3ea0f058..576a483fc1bf 100644 --- a/misc/compat9x/distinfo +++ b/misc/compat9x/distinfo @@ -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 diff --git a/misc/compat9x/pkg-plist.amd64 b/misc/compat9x/pkg-plist.amd64 index 1757db416735..3969095d1fe2 100644 --- a/misc/compat9x/pkg-plist.amd64 +++ b/misc/compat9x/pkg-plist.amd64 @@ -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 diff --git a/misc/compat9x/pkg-plist.i386 b/misc/compat9x/pkg-plist.i386 index 81ffdf625ad8..19f31b0f630e 100644 --- a/misc/compat9x/pkg-plist.i386 +++ b/misc/compat9x/pkg-plist.i386 @@ -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 -- cgit v1.2.3