svn commit: r486055 - head/comms/rxtx
Mark Linimon
linimon at FreeBSD.org
Tue Nov 27 19:53:12 UTC 2018
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>
More information about the svn-ports-all
mailing list