From 765525b60a7094d21911f9cf3bca389d03aca79f Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Sun, 14 Apr 2019 09:14:32 +0000 Subject: java/eclipse: update 4.6 -> 4.11, submitter becomes maintainer - port is rewritten from scratch - Warning: UI widgets are oddly sized, currently under investigation PR: 236792 Submitted by: Jonathan Chen Reviewed by: mizhka@gmail.com, Curtis Hamilton Approved by: ljboiler@gmail.com (maintainer timeout) Relnotes: https://www.eclipse.org/eclipseide/2019-03/noteworthy/ --- java/eclipse/scripts/pre-build | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 java/eclipse/scripts/pre-build (limited to 'java/eclipse/scripts/pre-build') diff --git a/java/eclipse/scripts/pre-build b/java/eclipse/scripts/pre-build new file mode 100644 index 000000000000..8e03e5fbe8f8 --- /dev/null +++ b/java/eclipse/scripts/pre-build @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Build quirks +# +cd ${WRKSRC} + +ARCHS="amd64 powerpc64" + +# Create dummy repo for jgit +if [ ! -d .git ] +then + echo 'in pre-build doing git-init' + mkdir ${WRKDIR}/githome + ( + export HOME=${WRKDIR}/githome + echo "home:" $HOME + git config --global user.email "eclipse@freebsd.org" + git config --global user.name "Eclipse" + git init + git add . + git commit -q --message="java/eclipse" --author="Eclipse " + ) +fi + +# Create dummy targets +GTK_EXE="rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk" +for A in ${ARCHS} +do + mkdir -p ${GTK_EXE}/freebsd/${A} + touch ${GTK_EXE}/freebsd/${A}/eclipse +done -- cgit v1.2.3