FreeBSD Bugzilla – Attachment 156114 Details for
Bug 192575
[patch] java/junit: fix build of 4.11 with openjdk8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch_junit_hamcrest_libreoffice
junit_hamcrest_libreoffice.diff (text/plain), 6.25 KB, created by
Danilo Egea Gondolfo
on 2015-04-29 18:43:09 UTC
(
hide
)
Description:
patch_junit_hamcrest_libreoffice
Filename:
MIME Type:
Creator:
Danilo Egea Gondolfo
Created:
2015-04-29 18:43:09 UTC
Size:
6.25 KB
patch
obsolete
>Index: java/hamcrest/Makefile >=================================================================== >--- java/hamcrest/Makefile (revision 0) >+++ java/hamcrest/Makefile (working copy) >@@ -0,0 +1,30 @@ >+# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org >+# $FreeBSD$ >+ >+PORTNAME= hamcrest >+PORTVERSION= 1.3 >+CATEGORIES= java devel >+MASTER_SITES= http://repo1.maven.org/maven2/org/${PORTNAME}/${PORTNAME}-all/${PORTVERSION}/ >+DISTFILES= ${PORTNAME}-all-${PORTVERSION}.jar ${PORTNAME}-all-${PORTVERSION}-sources.jar >+EXTRACT_ONLY= >+ >+MAINTAINER= danilo@FreeBSD.org >+COMMENT= Library of matchers for building test expressions >+ >+USE_JAVA= yes >+NO_BUILD= yes >+ >+DATADIR= ${JAVASHAREDIR}/${PORTNAME} >+PLIST_FILES= %%JAVAJARDIR%%/hamcrest.jar \ >+ %%JAVAJARDIR%%/hamcrest1.3.jar \ >+ %%DATADIR%%/src.jar >+ >+do-install: >+ ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}.jar \ >+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar >+ ${LN} -sf ${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}1.3.jar >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}-sources.jar \ >+ ${STAGEDIR}${DATADIR}/src.jar >+ >+.include <bsd.port.mk> > >Property changes on: java/hamcrest/Makefile >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: java/hamcrest/distinfo >=================================================================== >--- java/hamcrest/distinfo (revision 0) >+++ java/hamcrest/distinfo (working copy) >@@ -0,0 +1,4 @@ >+SHA256 (hamcrest-all-1.3.jar) = 4877670629ab96f34f5f90ab283125fcd9acb7e683e66319a68be6eb2cca60de >+SIZE (hamcrest-all-1.3.jar) = 306578 >+SHA256 (hamcrest-all-1.3-sources.jar) = c53535c3d25b5bf0b00a324a5583c7dd2fed0fa6d1bbc622e2dec460c24faab3 >+SIZE (hamcrest-all-1.3-sources.jar) = 87801 > >Property changes on: java/hamcrest/distinfo >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: java/hamcrest/pkg-descr >=================================================================== >--- java/hamcrest/pkg-descr (revision 0) >+++ java/hamcrest/pkg-descr (working copy) >@@ -0,0 +1,7 @@ >+Provides a library of matcher objects (also known as >+constraints or predicates) allowing 'match' rules to >+be defined declaratively, to be used in other frameworks. >+Typical scenarios include testing frameworks, mocking libraries >+and UI validation rules. >+ >+WWW: http://hamcrest.org/ > >Property changes on: java/hamcrest/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: java/junit/Makefile >=================================================================== >--- java/junit/Makefile (revision 384943) >+++ java/junit/Makefile (working copy) >@@ -2,27 +2,20 @@ > # $FreeBSD$ > > PORTNAME= junit >-PORTVERSION= 4.11 >-PORTREVISION= 1 >+PORTVERSION= 4.12 > CATEGORIES= java devel >-MASTER_SITES= GHL >-DISTNAME= ${PORTNAME}${PORTVERSION} >+MASTER_SITES= http://repo1.maven.org/maven2/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ >+DISTFILES= ${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}-${PORTVERSION}-sources.jar >+EXTRACT_ONLY= > > MAINTAINER= danilo@FreeBSD.org > COMMENT= Regression testing utility for use with the Java(TM) Language > >-USE_GITHUB= yes >-GH_ACCOUNT= junit-team >-GH_PROJECT= ${PORTNAME} >-GH_TAGNAME= r${PORTVERSION} >-GH_COMMIT= c62e2df >+LIB_DEPENDS= ${JAVAJARDIR}/hamcrest.jar:${PORTSDIR}/java/hamcrest > >-USES= perl5 > USE_JAVA= yes >-USE_ANT= yes >+NO_BUILD= yes > >-PORTDOCS= README.html cpl-v10.html doc javadoc >-PORTEXAMPLES= * > DATADIR= ${JAVASHAREDIR}/${PORTNAME} > PLIST_FILES= %%JAVAJARDIR%%/junit.jar \ > %%JAVAJARDIR%%/junit4.jar \ >@@ -29,18 +22,11 @@ > %%DATADIR%%/src.jar > > do-install: >- ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT.jar \ >+ ${INSTALL_DATA} ${DISTDIR}/junit-${PORTVERSION}.jar \ > ${STAGEDIR}${JAVAJARDIR}/junit.jar > ${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar > @${MKDIR} ${STAGEDIR}${DATADIR} >- ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT-src.jar \ >+ ${INSTALL_DATA} ${DISTDIR}/junit-${PORTVERSION}-sources.jar \ > ${STAGEDIR}${DATADIR}/src.jar >- cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit/samples \ >- && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ >- cd ${INSTALL_WRKSRC} \ >- && ${FIND} ${PORTDOCS:Njavadoc} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ >- && ${FIND} ${PORTDOCS:Njavadoc} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; >- cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT \ >- && ${FIND} javadoc -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ > > .include <bsd.port.mk> >Index: java/junit/distinfo >=================================================================== >--- java/junit/distinfo (revision 384943) >+++ java/junit/distinfo (working copy) >@@ -1,2 +1,4 @@ >-SHA256 (junit4.11.tar.gz) = a9266060d72c43411c93d1bfae952134ad91f4115bf5769e9a0d17b3d51bd097 >-SIZE (junit4.11.tar.gz) = 1974279 >+SHA256 (junit-4.12.jar) = 59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a >+SIZE (junit-4.12.jar) = 314932 >+SHA256 (junit-4.12-sources.jar) = 9f43fea92033ad82bcad2ae44cec5c82abc9d6ee4b095cab921d11ead98bf2ff >+SIZE (junit-4.12-sources.jar) = 200355 >Index: editors/libreoffice/Makefile >=================================================================== >--- editors/libreoffice/Makefile (revision 384943) >+++ editors/libreoffice/Makefile (working copy) >@@ -250,7 +250,8 @@ > --enable-report-builder \ > --with-ant-home=${LOCALBASE}/share/java/apache-ant \ > --with-jdk-home="${JAVA_HOME}" \ >- --with-junit=${JAVAJARDIR}/junit.jar >+ --with-junit=${JAVAJARDIR}/junit.jar \ >+ --with-hamcrest=${JAVAJARDIR}/hamcrest.jar > JAVA_CONFIGURE_OFF= --without-java > JAVA_BUILD= yes > JAVA_USE= JAVA=yes
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192575
:
145654
|
153253
|
156082
| 156114