aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-12-12 07:56:19 +0800
committerlinimon <linimon@FreeBSD.org>2011-12-12 07:56:19 +0800
commit47584208ae3fa02e2a5b10bc66810b8234068d6b (patch)
treee6fe1345c2461a6383296e94d7bd994ed917a908 /lang
parentb1e16407e4d43b30fdde8d729e56243827c68b31 (diff)
downloadfreebsd-ports-gnome-47584208ae3fa02e2a5b10bc66810b8234068d6b.tar.gz
freebsd-ports-gnome-47584208ae3fa02e2a5b10bc66810b8234068d6b.tar.zst
freebsd-ports-gnome-47584208ae3fa02e2a5b10bc66810b8234068d6b.zip
Re-add lang/gcc42.
Hat: portmgr Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gcc42/files/java-patch-hier13
2 files changed, 14 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 13dafcdc763b..4dc14a89e23b 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -88,6 +88,7 @@
SUBDIR += gawk
SUBDIR += gcc
SUBDIR += gcc34
+ SUBDIR += gcc42
SUBDIR += gcc44
SUBDIR += gcc46
SUBDIR += gcc47
diff --git a/lang/gcc42/files/java-patch-hier b/lang/gcc42/files/java-patch-hier
new file mode 100644
index 000000000000..edb122b087b8
--- /dev/null
+++ b/lang/gcc42/files/java-patch-hier
@@ -0,0 +1,13 @@
+Index: libjava/Makefile.in
+===================================================================
+--- libjava/Makefile.in (revision 117734)
++++ libjava/Makefile.in (working copy)
+@@ -712,7 +712,7 @@
+ $(am__append_2) $(am__append_3)
+ toolexecmainlib_DATA = libgcj.spec
+ dbexec_LTLIBRARIES = libjvm.la
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ jardir = $(datadir)/java
+ jar_DATA = libgcj-$(gcc_version).jar libgcj-tools-$(gcc_version).jar
+ @JAVA_HOME_SET_FALSE@JAVA_HOME_DIR = $(prefix)