Date: Sat, 7 Feb 2004 11:43:03 GMT From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62472: [Maintainer Update] SIZE-ify plus misc. changes Message-ID: <200402071143.i17Bh3mC022482@happy-idiot-talk.infracaninophile.co.uk> Resent-Message-ID: <200402071150.i17BoEe0044915@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62472 >Category: ports >Synopsis: [Maintainer Update] SIZE-ify plus misc. changes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Feb 07 03:50:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 4.9-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.9-STABLE FreeBSD 4.9-STABLE #53: Sat Jan 31 15:14:00 GMT 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Various updates: - SIZEify - Use PLIST_FILES instead of separate pkg-plist file - Set JAVA_HOME in env. of ant(1) as per ports/59997 - Use ECHO_MSG rather than ECHO The pkg-plist file becomes redundant and should be removed as a result of these changes. >How-To-Repeat: >Fix: --- mysql-connector-java.diff begins here --- diff -Nur /usr/ports/databases/mysql-connector-java/Makefile mysql-connector-java/Makefile --- /usr/ports/databases/mysql-connector-java/Makefile Sun Jan 18 11:35:08 2004 +++ mysql-connector-java/Makefile Sat Feb 7 11:33:50 2004 @@ -26,14 +26,19 @@ MAINTAINER= m.seaman@infracaninophile.co.uk COMMENT= MySQL Connector/J: JDBC interface for MySQL +PLIST_FILES= share/java/classes/jdbc2_0-stdext.jar \ + share/java/classes/jta-spec1_0_1.jar \ + share/java/classes/mysql-connector-java.jar + .if !defined(WITHOUT_COMPILE) -BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant \ +BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant \ ${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit USE_JAVA= 1.4+ NEED_JAVAC= YES -ANT?= ${LOCALBASE}/bin/ant +ANT_CMD?= ${LOCALBASE}/bin/ant +ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD} ANT_TARGET= clean compile-driver BUILDDIR= ${WRKDIR}/build-mysql-jdbc/${DISTNAME} @@ -56,14 +61,14 @@ .endif pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file" - @${ECHO} "" - @${ECHO} "This port requires JDK 1.4.x or better to compile, but the" - @${ECHO} "JDBC driver will operate with JVM 1.2.x or better" - @${ECHO} "" + @${ECHO_MSG} "" + @${ECHO_MSG} "You may use the following build options:" + @${ECHO_MSG} "" + @${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file" + @${ECHO_MSG} "" + @${ECHO_MSG} "This port requires JDK 1.4.x or better to compile, but the" + @${ECHO_MSG} "JDBC driver will operate with JVM 1.2.x or better" + @${ECHO_MSG} "" do-build: .if !defined(WITHOUT_COMPILE) diff -Nur /usr/ports/databases/mysql-connector-java/distinfo mysql-connector-java/distinfo --- /usr/ports/databases/mysql-connector-java/distinfo Sun Jan 18 11:35:08 2004 +++ mysql-connector-java/distinfo Sat Feb 7 11:30:46 2004 @@ -1 +1,2 @@ MD5 (mysql-connector-java-3.0.10-stable.tar.gz) = f0cbac69f179c049bf57b30c0d76082c +SIZE (mysql-connector-java-3.0.10-stable.tar.gz) = 759619 diff -Nur /usr/ports/databases/mysql-connector-java/pkg-plist mysql-connector-java/pkg-plist --- /usr/ports/databases/mysql-connector-java/pkg-plist Fri Nov 14 09:19:02 2003 +++ mysql-connector-java/pkg-plist Thu Jan 1 01:00:00 1970 @@ -1,3 +0,0 @@ -share/java/classes/jdbc2_0-stdext.jar -share/java/classes/jta-spec1_0_1.jar -share/java/classes/mysql-connector-java.jar --- mysql-connector-java.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402071143.i17Bh3mC022482>