aboutsummaryrefslogtreecommitdiffstats
path: root/java/sigar
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-03 19:26:48 +0800
committermat <mat@FreeBSD.org>2015-04-03 19:26:48 +0800
commit0691688a506fc2dffc574eeeb80dc0d876378fed (patch)
tree204c01c7973e83331fc29d8b09e59b3e9f219bd6 /java/sigar
parent33639ffbb666f12097ddeff5ef7da2226febf15b (diff)
downloadfreebsd-ports-gnome-0691688a506fc2dffc574eeeb80dc0d876378fed.tar.gz
freebsd-ports-gnome-0691688a506fc2dffc574eeeb80dc0d876378fed.tar.zst
freebsd-ports-gnome-0691688a506fc2dffc574eeeb80dc0d876378fed.zip
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
Diffstat (limited to 'java/sigar')
-rw-r--r--java/sigar/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/java/sigar/Makefile b/java/sigar/Makefile
index 105f115caa2e..1d0e0347653b 100644
--- a/java/sigar/Makefile
+++ b/java/sigar/Makefile
@@ -40,14 +40,8 @@ WRKSRC= ${WRKDIR}/amishHammer-sigar-${GH_COMMIT}
PLATFORM_VER= 1
. elif ${OSVERSION} >= 900000
PLATFORM_VER= 9
-. elif ${OSVERSION} >= 800000
-PLATFORM_VER= 8
-. elif ${OSVERSION} >= 700000
-PLATFORM_VER= 7
-. elif ${OSVERSION} >= 600000
-PLATFORM_VER= 6
. else
-BROKEN= Unsupported FreeBSD version
+PLATFORM_VER= 8
. endif
.else
BROKEN= ${OPSYS} platform is not supported