ports/java/eclipse/files/patch-features-launchers-gtk-build.sh
Norikatsu Shigemura 0be0fb477c Update to 3.1.
o java/eclipse-devel is IGNOREd now until 3.2+.
o change MAINTAINERship to java@ on java/eclipse-devel. [1]

PR:		ports/84252
Submitted by:	Panagiotis Astithas <past@ebs.gr>
Requested by:	devel/eclipse-devel's maintainer [1]
Tested by:	java@
2005-07-31 05:26:16 +00:00

41 lines
1.1 KiB
Bash

--- features/org.eclipse.platform.launchers/library/gtk/build.sh.orig Fri Apr 1 13:57:19 2005
+++ features/org.eclipse.platform.launchers/library/gtk/build.sh Sun Apr 3 11:37:51 2005
@@ -67,6 +67,23 @@
;;
esac
;;
+ "FreeBSD")
+ makefile="make_freebsd.mak"
+ defaultOS="freebsd"
+ case $MODEL in
+ "amd64")
+ defaultOSArch="amd64"
+ OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
+ ;;
+ "i386")
+ defaultOSArch="x86"
+ OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
+ ;;
+ *)
+ echo "*** Unknown MODEL <${MODEL}>"
+ ;;
+ esac
+ ;;
"SunOS")
makefile="make_solaris.mak"
defaultOS="solaris"
@@ -112,11 +129,11 @@
# If the OS is supported (a makefile exists)
if [ "$makefile" != "" ]; then
if [ "$extraArgs" != "" ]; then
- make -f $makefile $extraArgs
+ gmake -f $makefile $extraArgs
else
echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
- make -f $makefile clean
- make -f $makefile all
+ gmake -f $makefile clean
+ gmake -f $makefile all
fi
else
echo "Unknown OS ($OS) -- build aborted"