From 1da9b17c5d5be8a31add2dc36b881d200352a562 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 7 May 2011 03:36:32 +0000 Subject: [PATCH] Updated groff gcc2 build to clean up directories, added gcc4 built groff. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41357 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/OptionalPackages | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages index b083aa7042..10c55fdfc6 100644 --- a/build/jam/OptionalPackages +++ b/build/jam/OptionalPackages @@ -829,9 +829,17 @@ if [ IsOptionalHaikuImagePackageAdded Groff ] { if $(TARGET_ARCH) != x86 { Echo "No optional package Groff available for $(TARGET_ARCH)" ; } else { - InstallOptionalHaikuImagePackage - groff-1.20.1-x86-gcc2-2010-08-31.zip - : $(baseURL)/groff-1.20.1-x86-gcc2-2010-08-31.zip ; + if $(HAIKU_GCC_VERSION[1]) >= 4 { + InstallOptionalHaikuImagePackage + groff-1.20.1-x86-gcc4-2011-05-06.zip + : $(baseURL)/groff-1.20.1-x86-gcc4-2011-05-06.zip + : : true ; + } else { + InstallOptionalHaikuImagePackage + groff-1.20.1-x86-gcc2-2011-05-06.zip + : $(baseURL)/groff-1.20.1-x86-gcc2-2011-05-06.zip + : : true ; + } } }