1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Respect $(CC).

This commit is contained in:
Alex Dupre 2013-10-30 10:04:35 +00:00
parent 4b74ec6f1c
commit c1b49ea5b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332092

View File

@ -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