1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/comms/rxtx/Makefile
Craig Leres 4344834392 Solve occasional poudriere build failures by adding MAKE_JOBS_UNSAFE.
Sample poudriere build error without MAKE_JOBS_UNSAFE:

    Error: Could not find class file for 'gnu.io.Raw'.
    gmake[1]: *** [Makefile:613: /wrkdirs/usr/ports/comms/rxtx/work/rxtx-2.2pre2/gnu/io/NoSuchPortException.class] Error 1

PR:		216558
Reviewed by:	mat, matthew (mentor)
Approved by:	mat, koobs (maintainer), matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D18999
2019-02-14 01:05:58 +00:00

37 lines
836 B
Makefile

# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# $FreeBSD$
PORTNAME= rxtx
PORTVERSION= 2.2p2
PORTREVISION= 4
CATEGORIES= comms java
MASTER_SITES= http://rxtx.qbang.org/pub/rxtx/
PKGNAMESUFFIX= -${JAVA_PORT:S/java\///}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
MAINTAINER= james@elstone.net
COMMENT= Native interface to serial ports in Java
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
NOT_FOR_ARCHS= mips mips64
NOT_FOR_ARCHS_REASON= Java not available for this architecture
USES= gmake libtool zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_OS= native
GNU_CONFIGURE= yes
CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
PLIST_SUB= JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,}
PLIST_SUB+= ARCH=${ARCH:C/armv.*/arm/:S/powerpc64/ppc64/}
.include <bsd.port.mk>