From 7204ee94e8b581bfbcb5b2d676b2e00a8589af01 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Fri, 12 Jul 2002 19:12:02 +0000 Subject: Add patches to allow port build again and also fix some plist problems. PR: ports/39899 Submitted by: maintainer --- databases/mysql-jdbc-mm/Makefile | 9 +++++++-- databases/mysql-jdbc-mm/files/patch-build.xml | 21 +++++++++++++++++++++ databases/mysql-jdbc-mm/files/patch-j1c | 10 ++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 databases/mysql-jdbc-mm/files/patch-build.xml create mode 100644 databases/mysql-jdbc-mm/files/patch-j1c (limited to 'databases/mysql-jdbc-mm') diff --git a/databases/mysql-jdbc-mm/Makefile b/databases/mysql-jdbc-mm/Makefile index a737a603d39e..46d979d1f46f 100644 --- a/databases/mysql-jdbc-mm/Makefile +++ b/databases/mysql-jdbc-mm/Makefile @@ -15,6 +15,8 @@ EXTRACT_SUFX= -you-must-unjar-me.jar MAINTAINER= dglo@SSEC.WISC.EDU +BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/jakarta-ant + USE_JAVA= 1.2+ NEED_JAVAC= YES @@ -59,9 +61,12 @@ post-install: .if !defined(NOPORTDOCS) @(cd ${PREFIX} \ && find share/doc/mysql-jdbc -type f -print >> ${TMPPLIST}) + @${ECHO} "@dirrm share/doc/mysql-jdbc/org/gjt/mm/mysql/jdbc2" >> ${TMPPLIST} + @${ECHO} "@dirrm share/doc/mysql-jdbc/org/gjt/mm/mysql" >> ${TMPPLIST} + @${ECHO} "@dirrm share/doc/mysql-jdbc/org/gjt/mm" >> ${TMPPLIST} + @${ECHO} "@dirrm share/doc/mysql-jdbc/org/gjt" >> ${TMPPLIST} + @${ECHO} "@dirrm share/doc/mysql-jdbc/org" >> ${TMPPLIST} @${ECHO} "@dirrm share/doc/mysql-jdbc" >> ${TMPPLIST} .endif - @${ECHO} "@unexec ${RMDIR} %D/share/java/classes 2>/dev/null || true" >> ${TMPPLIST} - @${ECHO} "@unexec ${RMDIR} %D/share/java 2>/dev/null || true" >> ${TMPPLIST} .include diff --git a/databases/mysql-jdbc-mm/files/patch-build.xml b/databases/mysql-jdbc-mm/files/patch-build.xml new file mode 100644 index 000000000000..36ede9c61672 --- /dev/null +++ b/databases/mysql-jdbc-mm/files/patch-build.xml @@ -0,0 +1,21 @@ +--- build.xml.orig Sat May 18 13:50:54 2002 ++++ build.xml Sat May 18 13:50:44 2002 +@@ -1,7 +1,7 @@ + + +- +- ++ ++ + + + +@@ -62,7 +62,7 @@ + + + +- ++ + + + diff --git a/databases/mysql-jdbc-mm/files/patch-j1c b/databases/mysql-jdbc-mm/files/patch-j1c new file mode 100644 index 000000000000..e749ca854e1c --- /dev/null +++ b/databases/mysql-jdbc-mm/files/patch-j1c @@ -0,0 +1,10 @@ +--- j1c.orig Thu Nov 29 16:26:08 2001 ++++ j1c Thu Nov 29 16:26:36 2001 +@@ -0,0 +1,7 @@ ++#!/bin/sh ++ ++JAVAC_1=%%PREFIX%%/jdk1.1.8/bin/javac ++ ++unset JAVA_HOME LD_LIBRARY_PATH LD_PRELOAD CLASSPATH ++ ++exec "$JAVAC_1" "$@" -- cgit v1.2.3