From owner-svn-ports-head@freebsd.org Sun Oct 28 19:58:44 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A6E810DECB0; Sun, 28 Oct 2018 19:58:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6B396D6CB; Sun, 28 Oct 2018 19:58:43 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAA9423F57; Sun, 28 Oct 2018 19:58:42 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9SJwggt067075; Sun, 28 Oct 2018 19:58:42 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9SJwg5u067074; Sun, 28 Oct 2018 19:58:42 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201810281958.w9SJwg5u067074@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 28 Oct 2018 19:58:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483345 - head/devel/py-cbor X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-cbor X-SVN-Commit-Revision: 483345 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2018 19:58:44 -0000 Author: sunpoet Date: Sun Oct 28 19:58:42 2018 New Revision: 483345 URL: https://svnweb.freebsd.org/changeset/ports/483345 Log: Fix build on powerpc64 PR: 232509 Submitted by: Piotr Kubaj Modified: head/devel/py-cbor/Makefile Modified: head/devel/py-cbor/Makefile ============================================================================== --- head/devel/py-cbor/Makefile Sun Oct 28 19:58:34 2018 (r483344) +++ head/devel/py-cbor/Makefile Sun Oct 28 19:58:42 2018 (r483345) @@ -15,7 +15,14 @@ LICENSE= APACHE20 USE_PYTHON= autoplist concurrent distutils USES= python +.include + +post-patch: +.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 + @${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/c/cbormodule.c +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cbor/_cbor.so -.include +.include