head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.38 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.36 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.34 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.32 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.30 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.28 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.26 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.24 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.22 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.20 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.18 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.16 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.14 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.12 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.10 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.8 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.6 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.4 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.2 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.3.0.48 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.46 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.44 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.42 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.38 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.18 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.40 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.36 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.34 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.32 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.30 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.28 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.26 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.24 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.22 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.20 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.16 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.14 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.12 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.10 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.8 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.6 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.4 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.2 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.2.0.20 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.18 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.16 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.14 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.12 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.10 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.8 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.6 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.2 pkgsrc-2013Q1-base:1.2; locks; strict; comment @# @; 1.4 date 2021.09.13.11.37.34; author dsainty; state Exp; branches; next 1.3; commitid JokeEezgw3knTM8D; 1.3 date 2015.08.13.20.16.22; author joerg; state Exp; branches; next 1.2; commitid jzjZtE2iTQkod9xy; 1.2 date 2013.03.29.12.40.25; author dsainty; state Exp; branches; next 1.1; 1.1 date 2013.02.11.01.13.20; author dsainty; state Exp; branches; next ; desc @@ 1.4 log @Fix the build under MacOS X @ text @$NetBSD: patch-configure_in,v 1.3 2015/08/13 20:16:22 joerg Exp $ AM_CONFIG_HEADER is obsolete. Mac OS X has a normal include directory if the JPATH is set appropriately. UTS_RELEASE isn't even reliably available on Linux, let alone portable. Recognise Java 1.6, and openjdk7 as 1.7. The printer port support is experimental, and only supported on some platforms. Disable it for consistency, using a patch since --disable-PRINTER only works on Linux. Force use of Pkgsrc libtool, even on Mac OS X. --- configure.in.orig 2006-01-30 15:37:47.000000000 +1100 +++ configure.in 2017-04-24 19:53:54.000000000 +1000 @@@@ -17,7 +17,7 @@@@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #------------------------------------------------------------------------- AC_INIT(src/SerialImp.c) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AC_CANONICAL_SYSTEM AC_MSG_WARN(Trying libtool. If the following fails install libtool) AC_PROG_CC @@@@ -409,15 +409,7 @@@@ echo "------------------------------------------------------" 1>&2 fi; } -[ case $OS_NAME in - Mac\ OS\ X) - JAVAINCLUDEDIR=$JPATH/../../../Headers - ;; - *) - JAVAINCLUDEDIR=$JPATH/include - ;; -esac ] - +JAVAINCLUDEDIR=$JPATH/include JAVAINCLUDE="-I\$(JAVAINCLUDEDIR)" if test "$CC" = "gcc" || test "$CC"="egcs"; then case $JAVA_VENDOR in @@@@ -458,12 +450,12 @@@@ [ case $OS_NAME in Linux) LDFLAGS=$LDFLAGS" -lpthread" - check_kernel_headers + #check_kernel_headers check_java_headers CFLAGS=$CFLAGS" -D__need_timespec" case $JAVA_VERSION in - 1.2*|1.3*|1.4*|1.5*) + 1.2*|1.3*|1.4*|1.5*|1.6*|1.7*) #fix_parameters $JPATH/jre/lib/javax.comm.properties CLASSPATH=".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name RXTXcomm.jar |head -n1` JHOME=$JPATH"/jre/lib/ext" @@@@ -527,13 +519,13 @@@@ ;; *BSD) - LDFLAGS=$LDFLAGS" -lc_r" + LDFLAGS=$LDFLAGS" -lpthread" JHOME=$JPATH/"lib" CFLAGS=$CFLAGS" -D_NO_POSIX=1 -D_NO_XOPEN4=1" TARGETLIB="\$(target_triplet)/librxtxSerial.la \ \$(target_triplet)/librxtxParallel.la" case $JAVA_VERSION in - 1.2*|1.3*|1.4*|1.5*) + 1.2*|1.3*|1.4*|1.5*|1.6*|1.7*) #fix_parameters $JPATH/jre/lib/javax.comm.properties CLASSPATH=".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name RXTXcomm.jar |head -n1` RXTX_PATH="\$(JPATH)/jre/lib/\$(OS_ARCH)" @@@@ -721,7 +713,7 @@@@ CLASSPATH=".:\$(TOP):\$(TOP)/src:\$(JPATH)/lib/classes.zip:\$(JPATH)/lib/RXTXcomm.jar:$CLASSPATH" case $JAVA_VERSION in - 1.2*|1.3*|1.4*|1.5*) + 1.2*|1.3*|1.4*|1.5*|1.6*|1.7*) RXTX_PATH="\$(JPATH)/jre/lib/\$(OS_ARCH)" ;; 1.1*) @@@@ -816,6 +808,9 @@@@ ;; esac ] +TARGETLIB="\$(target_triplet)/librxtxSerial.\$(LIB_EXTENSION)" +GLIBTOOL="\$(SHELL) \$(TOP)/libtool" + AC_OUTPUT(Makefile) @ 1.3 log @Don't use variable strings as format strings. Don't link with -lc_r on the BSDs, use -lpthread. Accept openjdk8. @ text @d1 1 a1 1 $NetBSD: patch-configure_in,v 1.2 2013/03/29 12:40:25 dsainty Exp $ d5 2 d15 4 a18 2 --- configure.in.orig 2006-01-30 04:37:47.000000000 +0000 +++ configure.in d28 18 a45 1 @@@@ -458,12 +458,12 @@@@ fi d60 1 a60 1 @@@@ -527,13 +527,13 @@@@ Linux) d76 1 a76 1 @@@@ -721,7 +721,7 @@@@ Solaris*) d85 1 a85 1 @@@@ -816,6 +816,8 @@@@ QNX) d89 2 a90 1 +TARGETLIB="\$(target_triplet)/librxtxSerial.la" @ 1.2 log @The printer port support is experimental, and only supported on some platforms. Disable it for consistency, using a patch since --disable-PRINTER only works on Linux. @ text @d1 1 a1 1 $NetBSD: patch-configure_in,v 1.1 2013/02/11 01:13:20 dsainty Exp $ d13 2 a14 2 --- configure.in.orig 2006-01-30 17:37:47.000000000 +1300 +++ configure.in 2013-03-30 01:16:29.425838439 +1300 d24 1 a24 1 @@@@ -458,12 +458,12 @@@@ d39 8 a46 1 @@@@ -533,7 +533,7 @@@@ d55 1 a55 1 @@@@ -721,7 +721,7 @@@@ d64 1 a64 1 @@@@ -816,6 +816,8 @@@@ @ 1.1 log @Add RXTX version 2.1-7r2. RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). It is based on the specification for Sun's Java Communications API, though while many of the class descriptions are the same the package used it not, since gnu.io is used instead. A certain amount of compatibility is intended with API, though this project should be considered as a fork and therefore compatible in spirit, but not in implementation. @ text @d1 1 a1 1 $NetBSD$ d9 4 d14 1 a14 1 +++ configure.in 2013-01-30 15:15:04.159793907 +1300 d57 9 @