svn commit: r361589 - head/java/eclipse

John Marino marino at FreeBSD.org
Fri Jul 11 21:56:02 UTC 2014


Author: marino
Date: Fri Jul 11 21:56:01 2014
New Revision: 361589
URL: http://svnweb.freebsd.org/changeset/ports/361589
QAT: https://qat.redports.org/buildarchive/r361589/

Log:
  java/eclipse: Fix dropins location
  
  The new 4.3.2 Eclipse port doesn't look for dropins in the "standard"
  FreeBSD location (/usr/local/share/eclipse/dropins) as expected.  The
  eclipse.ini file has been modified to make that happen.
  
  PR:		191766
  Submitted by:	maintainer (Jimmy Kelly)

Modified:
  head/java/eclipse/Makefile

Modified: head/java/eclipse/Makefile
==============================================================================
--- head/java/eclipse/Makefile	Fri Jul 11 21:50:50 2014	(r361588)
+++ head/java/eclipse/Makefile	Fri Jul 11 21:56:01 2014	(r361589)
@@ -3,6 +3,7 @@
 
 PORTNAME=	eclipse
 PORTVERSION=	4.3.2
+PORTREVISION=	1
 CATEGORIES=	java devel
 MASTER_SITES=	https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/
 DISTFILES=	eclipse.platform.releng.aggregator-${PORTVERSION}.xz \
@@ -114,6 +115,8 @@ do-install:
 	@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d lib/eclipse -type d) | ${SED} -ne "s,^, at dirrm ,p" >> ${TMPPLIST}
 	@${ECHO_CMD} "@exec ${MKDIR} %D/lib/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST}
 	@${ECHO_CMD} "@exec ${MKDIR} %D/share/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec echo '-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%D/share/eclipse/dropins' >> %D/lib/eclipse/eclipse.ini" >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec ${SED} -i '' '/^-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/d' %D/lib/eclipse/eclipse.ini" >> ${TMPPLIST}
 	@${ECHO_CMD} "@dirrm share/eclipse/dropins" >> ${TMPPLIST}
 	@${ECHO_CMD} "@dirrm share/eclipse" >> ${TMPPLIST}
 


More information about the svn-ports-all mailing list