aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-02-23 08:42:57 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-02-23 08:42:57 +0000
commit7c13ebd280064fd2bd622f360ffd77d0bd7caea1 (patch)
tree3dcb40130197e0af3aac09ffee6aeccdeb35ae42
parent9d4f5552a9c59e383ecfd2a65cde0c919b641144 (diff)
downloadports-7c13ebd280064fd2bd622f360ffd77d0bd7caea1.tar.gz
ports-7c13ebd280064fd2bd622f360ffd77d0bd7caea1.zip
Notes
-rw-r--r--comms/java-commapi-freebsd/Makefile2
-rw-r--r--comms/java-commapi-freebsd/distinfo6
-rw-r--r--comms/java-commapi-freebsd/files/patch-Makefile24
3 files changed, 10 insertions, 22 deletions
diff --git a/comms/java-commapi-freebsd/Makefile b/comms/java-commapi-freebsd/Makefile
index 2bf0a0faabc0..f5bc58c61261 100644
--- a/comms/java-commapi-freebsd/Makefile
+++ b/comms/java-commapi-freebsd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= java-commapi-freebsd
-PORTVERSION= 0.7
+PORTVERSION= 0.8
CATEGORIES= comms java
MASTER_SITES= http://www.syncrontech.org/freebsd/
DISTNAME= freebsd-commapi-${PORTVERSION}
diff --git a/comms/java-commapi-freebsd/distinfo b/comms/java-commapi-freebsd/distinfo
index 0efac4b1da88..b99e666e8aa3 100644
--- a/comms/java-commapi-freebsd/distinfo
+++ b/comms/java-commapi-freebsd/distinfo
@@ -1,3 +1,3 @@
-MD5 (freebsd-commapi-0.7.tar.gz) = 8b8abbe2e595dbbecbb05c8ae32c1c0b
-SHA256 (freebsd-commapi-0.7.tar.gz) = 42aa17d789a52d86446013074e0ac764b184c8c32991c085aea27b9ef41640a5
-SIZE (freebsd-commapi-0.7.tar.gz) = 15930
+MD5 (freebsd-commapi-0.8.tar.gz) = 5b5e6142b8f81c2f6438016d7e0d678e
+SHA256 (freebsd-commapi-0.8.tar.gz) = 30672d5e2b47febacb643a724044f7256f30e5a6962f9aa6738188cd47244ad7
+SIZE (freebsd-commapi-0.8.tar.gz) = 16054
diff --git a/comms/java-commapi-freebsd/files/patch-Makefile b/comms/java-commapi-freebsd/files/patch-Makefile
index 3fa6c647168e..5219de48f822 100644
--- a/comms/java-commapi-freebsd/files/patch-Makefile
+++ b/comms/java-commapi-freebsd/files/patch-Makefile
@@ -1,23 +1,11 @@
---- Makefile.orig Thu Jan 30 04:31:19 2003
-+++ Makefile Wed Oct 12 23:13:45 2005
-@@ -24,7 +24,8 @@
+--- Makefile.orig Fri Feb 23 09:33:44 2007
++++ Makefile Fri Feb 23 09:34:09 2007
+@@ -24,7 +24,7 @@
JAVAC_CLASSPATH = $(JAVA_HOME)/jre/lib/ext/comm.jar
JAVAH = $(JAVA_HOME)/bin/javah
JARFILE = jar/CommDriver.jar
--CFLAGS = -O1 -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
-+CFLAGS = -O1 -fPIC -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
-+MACHINE_ARCH ?= i386
+-CFLAGS = -O1 -fPIC -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
++CFLAGS += -fPIC -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
+ MACHINE_ARCH ?= i386
.SUFFIXES: .java .class
-
-@@ -37,8 +38,8 @@
- # Install stuff
- #
- install: all
-- install -c -o bin -g bin -m 0444 lib/libParallel.so $(JAVA_HOME)/jre/lib/i386
-- install -c -o bin -g bin -m 0444 lib/libSerial.so $(JAVA_HOME)/jre/lib/i386
-+ install -c -o bin -g bin -m 0444 lib/libParallel.so $(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
-+ install -c -o bin -g bin -m 0444 lib/libSerial.so $(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
- install -c -o bin -g bin -m 0444 javax.comm.properties $(JAVA_HOME)/jre/lib
- install -c -o bin -g bin -m 0444 $(JARFILE) $(JAVA_HOME)/jre/lib/ext
-