Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 19:53:11 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486055 - head/comms/rxtx
Message-ID:  <201811271953.wARJrBrG042887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc64"
-PLIST_SUB+=	ARCH=ppc64
-.else
-PLIST_SUB+=	ARCH=${ARCH}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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