From 238dfe5a47d94bdab2b312980bd203138249d0b2 Mon Sep 17 00:00:00 2001 From: gbenson Date: Thu, 7 Oct 2004 14:46:20 +0000 Subject: [PATCH] Build on Fedora --- jdepend.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jdepend.spec b/jdepend.spec index acccf5d..65d120f 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -47,6 +47,11 @@ rm -rf $RPM_BUILD_ROOT find . -name "*.jar" -exec rm -f {} \; # fix strange permissions find . -type d -exec chmod 755 {} \; +# delete stuff that doesn't work with libgcj (#130006). +if java -version 2>&1 | grep -q "gcj"; then + rm -f src/jdepend/swingui/DependTree.java + rm -f src/jdepend/swingui/JDepend.java +fi %build ant jar javadoc