Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 10:04:35 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332092 - head/comms/java-commapi-freebsd/files
Message-ID:  <201310301004.r9UA4ZNG015700@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Wed Oct 30 10:04:35 2013
New Revision: 332092
URL: http://svnweb.freebsd.org/changeset/ports/332092

Log:
  Respect $(CC).

Modified:
  head/comms/java-commapi-freebsd/files/patch-Makefile

Modified: head/comms/java-commapi-freebsd/files/patch-Makefile
==============================================================================
--- head/comms/java-commapi-freebsd/files/patch-Makefile	Wed Oct 30 10:03:54 2013	(r332091)
+++ head/comms/java-commapi-freebsd/files/patch-Makefile	Wed Oct 30 10:04:35 2013	(r332092)
@@ -1,5 +1,5 @@
---- Makefile.orig	Fri Feb 23 09:33:44 2007
-+++ Makefile	Fri Feb 23 09:34:09 2007
+--- Makefile.orig	2007-02-23 07:45:16.000000000 +0000
++++ Makefile	2013-10-30 08:31:39.773863242 +0000
 @@ -24,7 +24,7 @@
  JAVAC_CLASSPATH	=	$(JAVA_HOME)/jre/lib/ext/comm.jar
  JAVAH		=	$(JAVA_HOME)/bin/javah
@@ -9,3 +9,21 @@
  MACHINE_ARCH	?=	i386
  
  .SUFFIXES:	.java .class
+@@ -96,7 +96,7 @@
+ 			src/$(JAVA_PKG_DIR)/javax_comm_ParallelPort.h \
+ 			src/$(JAVA_PKG_DIR)/javax_comm_ParallelPortEvent.h
+ 	if [ ! -d lib ]; then mkdir lib; fi
+-	gcc $(CFLAGS) -o lib/libParallel.so src/$(JAVA_PKG_DIR)/libParallel.c 
++	$(CC) $(CFLAGS) -o lib/libParallel.so src/$(JAVA_PKG_DIR)/libParallel.c 
+ #
+ # Serial driver JNI part
+ #
+@@ -105,7 +105,7 @@
+ 			src/$(JAVA_PKG_DIR)/javax_comm_SerialPort.h \
+ 			src/$(JAVA_PKG_DIR)/javax_comm_SerialPortEvent.h
+ 	if [ ! -d lib ]; then mkdir lib; fi
+-	gcc $(CFLAGS) -o lib/libSerial.so src/$(JAVA_PKG_DIR)/libSerial.c 
++	$(CC) $(CFLAGS) -o lib/libSerial.so src/$(JAVA_PKG_DIR)/libSerial.c 
+ 
+ .java.class:
+ 	$(JAVAC) -classpath src:$(JAVAC_CLASSPATH) $*.java



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301004.r9UA4ZNG015700>