Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 11:36:44 +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: r483470 - head/comms/rxtx
Message-ID:  <201810301136.w9UBaioD093601@repo.freebsd.org>

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



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