pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/apache-ivy



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jul 24 16:27:23 UTC 2018

Modified Files:
        pkgsrc/devel/apache-ivy: Makefile

Log Message:
apache-ivy: Use apache-ant 1.9.x with JDK 7.x

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/apache-ivy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/apache-ivy/Makefile
diff -u pkgsrc/devel/apache-ivy/Makefile:1.3 pkgsrc/devel/apache-ivy/Makefile:1.4
--- pkgsrc/devel/apache-ivy/Makefile:1.3        Thu Jun 14 11:32:37 2018
+++ pkgsrc/devel/apache-ivy/Makefile    Tue Jul 24 16:27:22 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2018/06/14 11:32:37 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2018/07/24 16:27:22 jperkin Exp $
 #
 
 DISTNAME=      apache-ivy-2.4.0-bin
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/-bin//}
 CATEGORIES=    devel java
 MASTER_SITES=  ${MASTER_SITE_APACHE:=ant/ivy/${PKGNAME:S/apache-ivy-//}/}
@@ -11,8 +12,15 @@ HOMEPAGE=    http://ant.apache.org/ivy/
 COMMENT=       "Apache Project's Java-Based agile dependency manager"
 LICENSE=       apache-2.0
 
+.include "../../mk/java-vm.mk"
+
+.if ${PKG_JVM} == "openjdk7" || ${PKG_JVM} == "sun-jdk7"
+DEPENDS+=      apache-ant>=1.9<1.10:../../devel/apache-ant19
+.else
+DEPENDS+=      apache-ant>=1.10:../../devel/apache-ant
+.endif
+
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
-DEPENDS+=      apache-ant>=1.6:../../devel/apache-ant
 
 USE_JAVA=      run
 USE_JAVA2=     yes
@@ -27,5 +35,4 @@ do-install:
        cd ${WRKSRC}/doc && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/doc/java/ivy
        cd ${WRKSRC}/src/example && pax -rw -pmp * ${DESTDIR}${PREFIX}/share/examples/ivy
 
-.include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index