From owner-svn-ports-head@freebsd.org Tue Oct 30 11:36:45 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 33F2E10E06FA; Tue, 30 Oct 2018 11:36:45 +0000 (UTC) (envelope-from linimon@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 D30F07F0B2; Tue, 30 Oct 2018 11:36:44 +0000 (UTC) (envelope-from linimon@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 B41311CDCE; Tue, 30 Oct 2018 11:36:44 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9UBaiCG093602; Tue, 30 Oct 2018 11:36:44 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9UBaioD093601; Tue, 30 Oct 2018 11:36:44 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201810301136.w9UBaioD093601@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 30 Oct 2018 11:36:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483470 - head/comms/rxtx X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/comms/rxtx X-SVN-Commit-Revision: 483470 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: Tue, 30 Oct 2018 11:36:45 -0000 Author: linimon Date: Tue Oct 30 11:36:44 2018 New Revision: 483470 URL: https://svnweb.freebsd.org/changeset/ports/483470 Log: Fix build on powerpc64, and, possibly, armvX. PR: 231600 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/comms/rxtx/Makefile Modified: head/comms/rxtx/Makefile ============================================================================== --- head/comms/rxtx/Makefile Tue Oct 30 11:36:40 2018 (r483469) +++ head/comms/rxtx/Makefile Tue Oct 30 11:36:44 2018 (r483470) @@ -15,9 +15,6 @@ COMMENT= Native interface to serial ports in Java LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_armv6= fails to link: librxtxParallel.so: No such file or directory -BROKEN_armv7= fails to link: librxtxParallel.so: No such file or directory -BROKEN_powerpc64= fails to link: librxtxParallel.so: No such file or directory NOT_FOR_ARCHS= mips mips64 NOT_FOR_ARCHS_REASON= Java not available for this architecture @@ -32,6 +29,14 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes -PLIST_SUB= ARCH=${ARCH} JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,} +PLIST_SUB= JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,} -.include +.include + +.if ${ARCH} == "powerpc64" +PLIST_SUB+= ARCH=ppc64 +.else +PLIST_SUB+= ARCH=${ARCH} +.endif + +.include