summaryrefslogtreecommitdiffstats
path: root/databases/mysql-jdbc-mm
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2001-06-01 11:49:08 +0000
committerjeh <jeh@FreeBSD.org>2001-06-01 11:49:08 +0000
commita2c46349581e7d0ccec0c7f1ea52e465bd53ba9f (patch)
treeeb7b44fe1f4adf385fa5d6567cf308c79398f40e /databases/mysql-jdbc-mm
parent33c11d7cc95ed2631608150ee5a433459a46fa11 (diff)
downloadFreeBSD-ports-a2c46349581e7d0ccec0c7f1ea52e465bd53ba9f.zip
FreeBSD-ports-a2c46349581e7d0ccec0c7f1ea52e465bd53ba9f.tar.gz
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-jdbc-mm')
-rw-r--r--databases/mysql-jdbc-mm/Makefile3
-rw-r--r--databases/mysql-jdbc-mm/files/patch-Makefile (renamed from databases/mysql-jdbc-mm/files/patch-aa)12
2 files changed, 7 insertions, 8 deletions
diff --git a/databases/mysql-jdbc-mm/Makefile b/databases/mysql-jdbc-mm/Makefile
index d7afa06..2f15573 100644
--- a/databases/mysql-jdbc-mm/Makefile
+++ b/databases/mysql-jdbc-mm/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-jdbc-mm/files/patch-aa b/databases/mysql-jdbc-mm/files/patch-Makefile
index be2ac4a..6d64d84 100644
--- a/databases/mysql-jdbc-mm/files/patch-aa
+++ b/databases/mysql-jdbc-mm/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/*~
OpenPOWER on IntegriCloud