aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-12-27 19:10:41 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-12-31 08:57:55 +0000
commit0835676e361bca74b28b09fe0425ed5ee958f26b (patch)
tree9617744fefea8689073e388ab345f23c6765b4fd /comms
parentfbd8f896fa0456bf9f0763402b0917b01fee1469 (diff)
Diffstat (limited to 'comms')
-rw-r--r--comms/java-simple-serial-connector/Makefile3
-rw-r--r--comms/rxtx/Makefile3
2 files changed, 2 insertions, 4 deletions
diff --git a/comms/java-simple-serial-connector/Makefile b/comms/java-simple-serial-connector/Makefile
index 85e1d89a5b89..9b4deec51d2c 100644
--- a/comms/java-simple-serial-connector/Makefile
+++ b/comms/java-simple-serial-connector/Makefile
@@ -10,12 +10,11 @@ WWW= https://github.com/scream3r/java-simple-serial-connector
LICENSE= LGPL3
+USES= java:ant
USE_GITHUB= yes
GH_ACCOUNT= scream3r
MAJOR_MINOR= ${PORTVERSION:C/(.*)\.[0-9]*/\\1/}
-USE_JAVA= yes
-USE_ANT= yes
ALL_TARGET= dist
CXXFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd
WRKSRC_LIBS= ${WRKSRC}/src/java/libs
diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile
index 20415fec6a4e..471e19008850 100644
--- a/comms/rxtx/Makefile
+++ b/comms/rxtx/Makefile
@@ -16,9 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
NOT_FOR_ARCHS= mips mips64
NOT_FOR_ARCHS_REASON= Java not available for this architecture
-USES= gmake libtool zip
+USES= gmake java libtool zip
-USE_JAVA= yes
JAVA_OS= native
GNU_CONFIGURE= yes
CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}