From owner-svn-ports-all@FreeBSD.ORG Sat Nov 22 13:26:24 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB36EFD7; Sat, 22 Nov 2014 13:26:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7D8E9C; Sat, 22 Nov 2014 13:26:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAMDQOAJ065165; Sat, 22 Nov 2014 13:26:24 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAMDQOFZ065164; Sat, 22 Nov 2014 13:26:24 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201411221326.sAMDQOFZ065164@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 22 Nov 2014 13:26:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373058 - head/java/sigar X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 13:26:24 -0000 Author: marino Date: Sat Nov 22 13:26:24 2014 New Revision: 373058 URL: https://svnweb.freebsd.org/changeset/ports/373058 QAT: https://qat.redports.org/buildarchive/r373058/ Log: java/sigar: Check OSVERSION with OPSYS and break non-FreeBSD platforms Modified: head/java/sigar/Makefile Modified: head/java/sigar/Makefile ============================================================================== --- head/java/sigar/Makefile Sat Nov 22 13:25:49 2014 (r373057) +++ head/java/sigar/Makefile Sat Nov 22 13:26:24 2014 (r373058) @@ -35,19 +35,24 @@ WRKSRC= ${WRKDIR}/amishHammer-sigar-${G .include -.if ${OSVERSION} >= 1000000 +.if ${OPSYS} == FreeBSD +. if ${OSVERSION} >= 1000000 PLATFORM_VER= 1 -.elif ${OSVERSION} >= 900000 +. elif ${OSVERSION} >= 900000 PLATFORM_VER= 9 -.elif ${OSVERSION} >= 800000 +. elif ${OSVERSION} >= 800000 PLATFORM_VER= 8 -.elif ${OSVERSION} >= 700000 +. elif ${OSVERSION} >= 700000 PLATFORM_VER= 7 -.elif ${OSVERSION} >= 600000 +. elif ${OSVERSION} >= 600000 PLATFORM_VER= 6 -.else +. else BROKEN= Unsupported FreeBSD version +. endif +.else +BROKEN= ${OPSYS} platform is not supported .endif + LIBNAME= libsigar-${ARCH:S,i386,x86,}-freebsd-${PLATFORM_VER}.so PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \