Fix control flow, stop if gcc < 4. Change package URL

This commit is contained in:
Alexandre Deckner
2012-07-04 01:49:32 +02:00
parent 69914905f5
commit 8ae2b062a6
+5 -5
View File
@@ -421,13 +421,12 @@ if $(HAIKU_BUILD_FEATURE_TAGLIB) {
# WebKit # WebKit
local webkitBaseURL = http://dude.uzzl.net/haiku ; local webkitBaseURL = http://haiku-files.org/files/optional-packages ;
if $(TARGET_ARCH) = x86 { if $(TARGET_ARCH) = x86 {
if $(HAIKU_GCC_VERSION[1]) >= 4 { if $(HAIKU_GCC_VERSION[1]) < 4 {
HAIKU_WEBKIT_FILE = webkit-0.1.1-x86-gcc4-2012-07-03.zip ;
} else {
Echo "WebKit support not available on gcc $(HAIKU_GCC_VERSION[1])" ; Echo "WebKit support not available on gcc $(HAIKU_GCC_VERSION[1])" ;
} } else {
HAIKU_WEBKIT_FILE = webkit-0.1.1-x86-gcc4-2012-07-03.zip ;
local zipFile = [ DownloadFile $(HAIKU_WEBKIT_FILE) local zipFile = [ DownloadFile $(HAIKU_WEBKIT_FILE)
: $(webkitBaseURL)/$(HAIKU_WEBKIT_FILE) ] ; : $(webkitBaseURL)/$(HAIKU_WEBKIT_FILE) ] ;
@@ -449,6 +448,7 @@ if $(TARGET_ARCH) = x86 {
] ; ] ;
HAIKU_WEBKIT_HEADERS = [ FDirName $(HAIKU_WEBKIT_DIR) include ] ; HAIKU_WEBKIT_HEADERS = [ FDirName $(HAIKU_WEBKIT_DIR) include ] ;
}
} else { } else {
Echo "WebKit support not available on $(TARGET_ARCH)" ; Echo "WebKit support not available on $(TARGET_ARCH)" ;
} }