From owner-svn-ports-all@FreeBSD.ORG Wed Oct 30 10:04:35 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EAB5127D; Wed, 30 Oct 2013 10:04:35 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8A782331; Wed, 30 Oct 2013 10:04:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9UA4Zpn015701; Wed, 30 Oct 2013 10:04:35 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9UA4ZNG015700; Wed, 30 Oct 2013 10:04:35 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201310301004.r9UA4ZNG015700@svn.freebsd.org> From: Alex Dupre Date: Wed, 30 Oct 2013 10:04:35 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 10:04:36 -0000 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