mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 5.1.5
PR: 117219 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
This commit is contained in:
parent
82ef822ac6
commit
a9c768dcba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201895
3 changed files with 7 additions and 51 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= mysql-connector-java
|
||||
PORTVERSION= 5.0.8
|
||||
PORTVERSION= 5.1.5
|
||||
CATEGORIES= databases java
|
||||
MASTER_SITES= ${MASTER_SITE_MYSQL}
|
||||
MASTER_SITE_SUBDIR= Connector-J
|
||||
|
@ -16,26 +16,9 @@ COMMENT= MySQL Connector/J: JDBC interface for MySQL
|
|||
|
||||
RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
|
||||
|
||||
.if !defined(WITHOUT_COMPILE)
|
||||
|
||||
BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
|
||||
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
|
||||
|
||||
USE_JAVA= yes
|
||||
USE_ANT= yes
|
||||
JAVA_VERSION= 1.4+
|
||||
ALL_TARGET= clean dist
|
||||
MAKE_ARGS= -Djavalibdir=${JAVALIBDIR}
|
||||
BUILDDIR= ${WRKDIR}/${DISTNAME}/build/${DISTNAME}
|
||||
|
||||
.else
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.3+
|
||||
BUILDDIR= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
.endif
|
||||
|
||||
APIDOCSDIR= ${DOCSDIR}/javadoc
|
||||
SRCDIR= ${WRKDIR}/${DISTNAME}/src
|
||||
JAVADOCDIR= ${WRKDIR}/${DISTNAME}/javadoc
|
||||
|
@ -55,20 +38,12 @@ PORTDOCS= *
|
|||
|
||||
pre-fetch:
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "You may use the following build options to override the"
|
||||
@${ECHO_MSG} "default behaviour:"
|
||||
@${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 can be made to operate with JVM 1.2.x or better"
|
||||
@${ECHO_MSG} "Note: this port now installs the pre-compiled driver without"
|
||||
@${ECHO_MSG} "the option of compiling from source, because compilation requires"
|
||||
@${ECHO_MSG} "a mix of Java-5 and Java-6 that is not supported by bsd.java.mk"
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
.if !defined(WITHOUT_COMPILE)
|
||||
post-build:
|
||||
.else
|
||||
do-build:
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \
|
||||
${JAVADOC} -quiet -breakiterator \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (mysql-connector-java-5.0.8.tar.gz) = 7a3caaa764fd6266bc312d8930972e8f
|
||||
SHA256 (mysql-connector-java-5.0.8.tar.gz) = 660a0e2a2c88a5fe65f1c5baadb20535095d367bc3688e7248a622f4e71ad68d
|
||||
SIZE (mysql-connector-java-5.0.8.tar.gz) = 8652406
|
||||
MD5 (mysql-connector-java-5.1.5.tar.gz) = 85289f74093a2b165d42f5ac38850d18
|
||||
SHA256 (mysql-connector-java-5.1.5.tar.gz) = 032be11733bf627467ac69e94ea94bdd472f1cf1fcf74e7c835235b3b2c35ba3
|
||||
SIZE (mysql-connector-java-5.1.5.tar.gz) = 8168212
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
--- build.xml.orig Mon Oct 10 15:59:00 2005
|
||||
+++ build.xml Tue Oct 18 09:45:11 2005
|
||||
@@ -60,12 +60,13 @@
|
||||
</path>
|
||||
|
||||
<path id="project.build.classpath">
|
||||
- <fileset dir="${buildDir}/${fullProdName}/lib-nodist">
|
||||
+ <fileset dir="${buildDir}/${fullProdName}/lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
|
||||
- <fileset dir="${buildDir}/${fullProdName}/lib">
|
||||
- <include name="**/*.jar"/>
|
||||
+ <fileset dir="${javalibdir}">
|
||||
+ <include name="junit.jar"/>
|
||||
+ <include name="log4j.jar"/>
|
||||
</fileset>
|
||||
|
||||
<pathelement location="${buildDir}/${fullProdName}" />
|
Loading…
Add table
Reference in a new issue