Blame SOURCES/jss-fixed-build-issue-on-F17-or-newer.patch

b93447
diff -rupN jss-4.2.6.orig/mozilla/security/coreconf/config.mk jss-4.2.6/mozilla/security/coreconf/config.mk
b93447
--- jss-4.2.6.orig/mozilla/security/coreconf/config.mk	2007-05-03 23:54:05.000000000 -0700
b93447
+++ jss-4.2.6/mozilla/security/coreconf/config.mk	2013-07-22 18:42:19.000000000 -0700
b93447
@@ -68,8 +68,19 @@ TARGET_OSES = FreeBSD BSD_OS NetBSD Open
b93447
 ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
b93447
 include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
b93447
 else
b93447
+ifeq ($(OS_TARGET), Linux)
b93447
+OS_RELEASE_VER_MAJOR := $(shell echo $(OS_RELEASE) | cut -f1 -d.)
b93447
+OS_RELEASE_VER_MINOR := $(shell echo $(OS_RELEASE) | cut -f2 -d.)
b93447
+OS_RELEASE_GT_2_6 := $(shell [ $(OS_RELEASE_VER_MAJOR) -ge 2 -o \( $(OS_RELEASE_VER_MAJOR) -eq 2 -a $(OS_RELEASE_VER_MINOR) -ge 6 \) ] && echo true)
b93447
+ifeq ($(OS_RELEASE_GT_2_6),true)
b93447
+include $(CORE_DEPTH)/coreconf/Linux2.6.mk
b93447
+else
b93447
 include $(CORE_DEPTH)/coreconf/$(OS_TARGET)$(OS_RELEASE).mk
b93447
 endif
b93447
+else
b93447
+include $(CORE_DEPTH)/coreconf/$(OS_TARGET)$(OS_RELEASE).mk
b93447
+endif
b93447
+endif
b93447
 
b93447
 #######################################################################
b93447
 # [4.0] Master "Core Components" source and release <platform> tags   #