mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 07:57:38 -04:00
While here, fix powerpc64 build and remove pkg-plist for dynamic plist to cater for multiple ARCH builds. PR: 238152 Submitted by: Jonathan Chen <jonc@chen.org.nz> (maintainer)
29 lines
579 B
Bash
29 lines
579 B
Bash
#!/bin/sh
|
|
#
|
|
# Build quirks
|
|
#
|
|
cd ${WRKSRC}
|
|
|
|
ARCHS="amd64 powerpc64"
|
|
|
|
# Create dummy repo for jgit
|
|
if [ ! -d .git ]
|
|
then
|
|
mkdir ${WRKDIR}/githome
|
|
(
|
|
export HOME=${WRKDIR}/githome
|
|
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 <eclipse@freebsd.org>"
|
|
)
|
|
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
|