Fix control flow, stop if gcc < 4. Change package URL
This commit is contained in:
@@ -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)" ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user