1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
audio/tuxguitar depends on lang/gcc42-withgcjawt port.

Submitted by:   cperciva@
This commit is contained in:
Maho Nakata 2009-01-06 07:59:06 +00:00
parent 5acb8f4a08
commit dba406de80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225318
4 changed files with 124 additions and 0 deletions

View File

@ -88,6 +88,7 @@
SUBDIR += gcc34
SUBDIR += gcc41
SUBDIR += gcc42
SUBDIR += gcc42-withgcjawt
SUBDIR += gcc43
SUBDIR += gcc44
SUBDIR += gcl

View File

@ -0,0 +1,32 @@
# ex:ts=8
# Ports collection makefile for: gcc with gcj+AWT
# Date created: 17 April 2006
# Whom: Maho Nakata <maho@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -withgcjawt
MAINTAINER= maho@FreeBSD.org
MASTERDIR= ${.CURDIR}/../../lang/gcc42
DESCR= ${.CURDIR}/pkg-descr
WITH_JAVA_AWT= yes
USE_XORG= xtst xt xaw xmu
#weird libtool issue http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28442
EXTRA_PATCHES+= ${.CURDIR}/files/patch-configure
USE_AUTOTOOLS= libtool:15
.if ${MACHINE_ARCH} != i386
BROKEN= Only for gcj supported platforms
.endif
pre-build:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${SRCDIR}/libjava/configure
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${SRCDIR}/libjava/classpath/configure
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,84 @@
Real tweaks for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28442
never be upstreamed. correct solution might be upgrading libtool(?)
--- libjava/configure.orig Sat Jul 15 07:34:33 2006
+++ libjava/configure Fri Jul 21 16:37:48 2006
@@ -5867,6 +5867,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
+cp %%LOCALBASE%%/bin/libtool .
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
--- libjava/classpath/configure~ Wed Jun 14 22:46:33 2006
+++ libjava/classpath/configure Fri Jul 21 16:38:43 2006
@@ -5449,6 +5449,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
+cp %%LOCALBASE%%/bin/libtool .
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
--- ltconfig~ Wed Jul 5 05:30:34 2006
+++ ltconfig Fri Jul 21 19:59:52 2006
@@ -2236,7 +2236,7 @@
EOF
else
echo "appending configuration tag \"$tagname\" to $ofile"
- echo "### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
+ echo "# ### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
fi
cfgfile="$ofile"
;;
@@ -2266,7 +2266,7 @@
EOF
else
echo "appending to $cfgfile"
- echo "### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
+ echo "# ### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
fi
;;
esac
--- libjava/classpath/ltconfig~ Wed Jul 5 05:30:34 2006
+++ libjava/classpath/ltconfig Fri Jul 21 20:00:44 2006
@@ -2236,7 +2236,7 @@
EOF
else
echo "appending configuration tag \"$tagname\" to $ofile"
- echo "### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
+ echo "# ### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
fi
cfgfile="$ofile"
;;
@@ -2266,7 +2266,7 @@
EOF
else
echo "appending to $cfgfile"
- echo "### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
+ echo "# ### BEGIN LIBTOOL TAG CONFIG: $tagname" >> "$ofile"
fi
;;
esac
--- libjava/configure~ Sun Jul 23 11:01:24 2006
+++ libjava/configure Sun Jul 23 11:04:35 2006
@@ -6118,11 +6118,11 @@
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
deplibs_check_method="$deplibs_check_method" \
file_magic_cmd="$file_magic_cmd" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
---build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
-|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
-echo "$as_me: error: libtool tag configuration failed" >&2;}
- { (exit 1); exit 1; }; }
+#${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
+#--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
+#|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
+#echo "$as_me: error: libtool tag configuration failed" >&2;}
+# { (exit 1); exit 1; }; }
CC="$lt_save_CC"
CFLAGS="$lt_save_CFLAGS"

View File

@ -0,0 +1,7 @@
GCC, the GNU Compiler Collection includes C, C++, Java with AWT peer for
gtk.
This port installs the various front ends as gcc42, g++42, gcj42,
like master port, *AND* installs gcj+AWT peer for gtk as well.
WWW: http://gcc.gnu.org/