Fix build on powerpc64, and, possibly, armvX.
PR: 231600 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
6ffea465aa
commit
06b560c9a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483470
1 changed files with 10 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue