Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 21:34:47 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559430 - head/net/ceph14
Message-ID:  <202012272134.0BRLYliK074596@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Dec 27 21:34:47 2020
New Revision: 559430
URL: https://svnweb.freebsd.org/changeset/ports/559430

Log:
  net/ceph14: port to powerpc64
  
  Remove SSE libs from pkg-plist
  
  PR:		251827
  Approved by:	wjw@digiware.nl (maintainer)

Modified:
  head/net/ceph14/Makefile
  head/net/ceph14/pkg-plist

Modified: head/net/ceph14/Makefile
==============================================================================
--- head/net/ceph14/Makefile	Sun Dec 27 21:21:11 2020	(r559429)
+++ head/net/ceph14/Makefile	Sun Dec 27 21:34:47 2020	(r559430)
@@ -15,7 +15,7 @@ LICENSE=	GPLv2 LGPL3
 LICENSE_COMB=	dual
 
 # even though i386 will build, it is not really advised.
-ONLY_FOR_ARCHS=	amd64
+ONLY_FOR_ARCHS=	amd64 powerpc64
 
 BUILD_DEPENDS=	\
 	bash:shells/bash \
@@ -110,6 +110,14 @@ GROUPS=		ceph
 BINARY_ALIAS=	sphinx-build=sphinx-build-${PYTHON_VER}
 
 # PLIST_SUB=CMAKE_BUILD_TYPE_regex="\bdebug\b"
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64
+PLIST_SUB+=	NO_AMD64="@comment "
+.else
+PLIST_SUB+=	NO_AMD64=""
+.endif
 
 pre-configure:
 	[ -e ${WRKSRC}/build ] || ${LN} -s ${CONFIGURE_WRKSRC} ${WRKSRC}/build

Modified: head/net/ceph14/pkg-plist
==============================================================================
--- head/net/ceph14/pkg-plist	Sun Dec 27 21:21:11 2020	(r559429)
+++ head/net/ceph14/pkg-plist	Sun Dec 27 21:34:47 2020	(r559430)
@@ -94,21 +94,21 @@ lib/ceph/compressor/libceph_zlib.so.2.0.0
 lib/ceph/compressor/libceph_zstd.so
 lib/ceph/compressor/libceph_zstd.so.2
 lib/ceph/compressor/libceph_zstd.so.2.0.0
-lib/ceph/crypto/libceph_crypto_isal.so
-lib/ceph/crypto/libceph_crypto_isal.so.1
-lib/ceph/crypto/libceph_crypto_isal.so.1.0.0
+%%NO_AMD64%%lib/ceph/crypto/libceph_crypto_isal.so
+%%NO_AMD64%%lib/ceph/crypto/libceph_crypto_isal.so.1
+%%NO_AMD64%%lib/ceph/crypto/libceph_crypto_isal.so.1.0.0
 lib/ceph/crypto/libceph_crypto_openssl.so
 lib/ceph/erasure-code/libec_clay.so
-lib/ceph/erasure-code/libec_isa.so
+%%NO_AMD64%%lib/ceph/erasure-code/libec_isa.so
 lib/ceph/erasure-code/libec_jerasure.so
 lib/ceph/erasure-code/libec_jerasure_generic.so
-lib/ceph/erasure-code/libec_jerasure_sse3.so
-lib/ceph/erasure-code/libec_jerasure_sse4.so
+%%NO_AMD64%%lib/ceph/erasure-code/libec_jerasure_sse3.so
+%%NO_AMD64%%lib/ceph/erasure-code/libec_jerasure_sse4.so
 lib/ceph/erasure-code/libec_lrc.so
 lib/ceph/erasure-code/libec_shec.so
 lib/ceph/erasure-code/libec_shec_generic.so
-lib/ceph/erasure-code/libec_shec_sse3.so
-lib/ceph/erasure-code/libec_shec_sse4.so
+%%NO_AMD64%%lib/ceph/erasure-code/libec_shec_sse3.so
+%%NO_AMD64%%lib/ceph/erasure-code/libec_shec_sse4.so
 lib/ceph/libceph-common.so.0
 lib/libcephfs.so
 lib/libcephfs.so.2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012272134.0BRLYliK074596>