From a2c46349581e7d0ccec0c7f1ea52e465bd53ba9f Mon Sep 17 00:00:00 2001 From: jeh Date: Fri, 1 Jun 2001 11:49:08 +0000 Subject: Tar file has moved and port needs a bit of tweaking PR: 27761 Submitted by: Dave Glowacki --- databases/mysql-connector-java/Makefile | 3 +-- databases/mysql-connector-java/files/patch-Makefile | 21 +++++++++++++++++++++ databases/mysql-connector-java/files/patch-aa | 21 --------------------- 3 files changed, 22 insertions(+), 23 deletions(-) create mode 100644 databases/mysql-connector-java/files/patch-Makefile delete mode 100644 databases/mysql-connector-java/files/patch-aa (limited to 'databases/mysql-connector-java') diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile index d7afa063d731..2f155735abb5 100644 --- a/databases/mysql-connector-java/Makefile +++ b/databases/mysql-connector-java/Makefile @@ -8,13 +8,12 @@ PORTNAME= mysql-jdbc-mm PORTVERSION= 1.2c CATEGORIES= databases java -MASTER_SITES= http://www.worldserver.com/mm.mysql/dist/ +MASTER_SITES= http://mmmysql.sourceforge.net/dist/ DISTNAME= mm.mysql.jdbc-${PORTVERSION} MAINTAINER= dglo@SSEC.WISC.EDU BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk -RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk ALL_TARGET= jar diff --git a/databases/mysql-connector-java/files/patch-Makefile b/databases/mysql-connector-java/files/patch-Makefile new file mode 100644 index 000000000000..6d64d84b104c --- /dev/null +++ b/databases/mysql-connector-java/files/patch-Makefile @@ -0,0 +1,21 @@ +--- Makefile.orig Sun May 27 12:10:22 2001 ++++ Makefile Sun May 27 12:16:18 2001 +@@ -3,14 +3,16 @@ + # $Id: Makefile,v 1.2 1998/08/25 04:02:25 mmatthew Exp $ + # + +-JAVAC = /usr/local/jdk118/bin/javac ++JAVA_HOME = /usr/local/jdk1.1.8 ++JAVAC = JAVA_HOME=$(JAVA_HOME) CLASSPATH= $(JAVA_HOME)/bin/javac ++JAR = JAVA_HOME=$(JAVA_HOME) CLASSPATH= $(JAVA_HOME)/bin/jar + JAVAC_FLAGS =-O -g + + all: + $(JAVAC) $(JAVAC_FLAGS) org/gjt/mm/mysql/*.java + + jar: all +- jar -cv0f mysql_uncomp.jar org/gjt/mm/mysql/*.class; jar -cvf mysql_comp.jar org/gjt/mm/mysql/*.class ++ $(JAR) -cv0f mysql_uncomp.jar org/gjt/mm/mysql/*.class; $(JAR) -cvf mysql_comp.jar org/gjt/mm/mysql/*.class + + clean: + rm -f org/gjt/mm/mysql/*.class org/gjt/mm/mysql/*~ diff --git a/databases/mysql-connector-java/files/patch-aa b/databases/mysql-connector-java/files/patch-aa deleted file mode 100644 index be2ac4adba7c..000000000000 --- a/databases/mysql-connector-java/files/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile.orig Mon Feb 21 23:43:51 2000 -+++ Makefile Sun Aug 27 13:38:46 2000 -@@ -3,14 +3,16 @@ - # $Id: Makefile,v 1.2 1998/08/25 04:02:25 mmatthew Exp $ - # - --JAVAC = /usr/local/jdk118/bin/javac -+JAVA_HOME ?= /usr/local/jdk1.1.8 -+JAVAC ?= $(JAVA_HOME)/bin/javac -+JAR ?= $(JAVA_HOME)/bin/jar - JAVAC_FLAGS =-O -g - - all: - $(JAVAC) $(JAVAC_FLAGS) org/gjt/mm/mysql/*.java - - jar: all -- jar -cv0f mysql_uncomp.jar org/gjt/mm/mysql/*.class; jar -cvf mysql_comp.jar org/gjt/mm/mysql/*.class -+ $(JAR) -cv0f mysql_uncomp.jar org/gjt/mm/mysql/*.class; jar -cvf mysql_comp.jar org/gjt/mm/mysql/*.class - - clean: - rm -f org/gjt/mm/mysql/*.class org/gjt/mm/mysql/*~ -- cgit