From owner-svn-ports-all@freebsd.org Tue Nov 27 19:53:12 2018 Return-Path: Delivered-To: svn-ports-all@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 AC1B6115A1FA; Tue, 27 Nov 2018 19:53:12 +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 4FE546A48D; Tue, 27 Nov 2018 19:53:12 +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 D773720034; Tue, 27 Nov 2018 19:53:11 +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 wARJrBeq042888; Tue, 27 Nov 2018 19:53:11 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wARJrBrG042887; Tue, 27 Nov 2018 19:53:11 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811271953.wARJrBrG042887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 27 Nov 2018 19:53:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486055 - head/comms/rxtx X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/comms/rxtx X-SVN-Commit-Revision: 486055 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FE546A48D X-Spamd-Result: default: False [1.32 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.47)[0.465,0]; NEURAL_SPAM_MEDIUM(0.64)[0.643,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.21)[0.213,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 19:53:12 -0000 Author: linimon Date: Tue Nov 27 19:53:11 2018 New Revision: 486055 URL: https://svnweb.freebsd.org/changeset/ports/486055 Log: Use a more succinct way of creating PLIST_SUB. Reported by: jbeich Reviewed by: mat Approved by: portmgr (tier-2 blanket) Modified: head/comms/rxtx/Makefile Modified: head/comms/rxtx/Makefile ============================================================================== --- head/comms/rxtx/Makefile Tue Nov 27 19:34:29 2018 (r486054) +++ head/comms/rxtx/Makefile Tue Nov 27 19:53:11 2018 (r486055) @@ -30,13 +30,6 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes PLIST_SUB= JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,} +PLIST_SUB+= ARCH=${ARCH:C/armv.*/arm/:S/powerpc64/ppc64/} -.include - -.if ${ARCH} == "powerpc64" -PLIST_SUB+= ARCH=ppc64 -.else -PLIST_SUB+= ARCH=${ARCH} -.endif - -.include +.include