aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql-connector-java
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2001-06-01 19:49:08 +0800
committerjeh <jeh@FreeBSD.org>2001-06-01 19:49:08 +0800
commita2c46349581e7d0ccec0c7f1ea52e465bd53ba9f (patch)
treeeb7b44fe1f4adf385fa5d6567cf308c79398f40e /databases/mysql-connector-java
parent33c11d7cc95ed2631608150ee5a433459a46fa11 (diff)
downloadfreebsd-ports-gnome-a2c46349581e7d0ccec0c7f1ea52e465bd53ba9f.tar.gz
freebsd-ports-gnome-a2c46349581e7d0ccec0c7f1ea52e465bd53ba9f.tar.zst
freebsd-ports-gnome-a2c46349581e7d0ccec0c7f1ea52e465bd53ba9f.zip
Tar file has moved and port needs a bit of tweaking
PR: 27761 Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r--databases/mysql-connector-java/Makefile3
-rw-r--r--databases/mysql-connector-java/files/patch-Makefile (renamed from databases/mysql-connector-java/files/patch-aa)12
2 files changed, 7 insertions, 8 deletions
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-aa b/databases/mysql-connector-java/files/patch-Makefile
index be2ac4adba7c..6d64d84b104c 100644
--- a/databases/mysql-connector-java/files/patch-aa
+++ b/databases/mysql-connector-java/files/patch-Makefile
@@ -1,13 +1,13 @@
---- Makefile.orig Mon Feb 21 23:43:51 2000
-+++ Makefile Sun Aug 27 13:38:46 2000
+--- 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)/bin/javac
-+JAR ?= $(JAVA_HOME)/bin/jar
++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:
@@ -15,7 +15,7 @@
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
++ $(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/*~