Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 16:05:45 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437937 - head/misc/compat9x
Message-ID:  <201704071605.v37G5jbp031124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Apr  7 16:05:45 2017
New Revision: 437937
URL: https://svnweb.freebsd.org/changeset/ports/437937

Log:
  - Always check OPSYS along with OSVERSION
  - Remove always false OSVERSION condition
  
  Approved by:	portmgr blanket

Modified:
  head/misc/compat9x/Makefile
  head/misc/compat9x/pkg-descr

Modified: head/misc/compat9x/Makefile
==============================================================================
--- head/misc/compat9x/Makefile	Fri Apr  7 16:04:31 2017	(r437936)
+++ head/misc/compat9x/Makefile	Fri Apr  7 16:05:45 2017	(r437937)
@@ -20,11 +20,7 @@ USE_LDCONFIG=	${TARGET_DIR}
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 900000
-IGNORE=		is for FreeBSD 9.x and newer
-.endif
-
-.if ${OSVERSION} >= 1100000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
 RUN_DEPENDS=	compat10x-${ARCH}>=0:misc/compat10x
 .endif
 

Modified: head/misc/compat9x/pkg-descr
==============================================================================
--- head/misc/compat9x/pkg-descr	Fri Apr  7 16:04:31 2017	(r437936)
+++ head/misc/compat9x/pkg-descr	Fri Apr  7 16:05:45 2017	(r437937)
@@ -6,7 +6,7 @@ Ports usage example:
 --
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 1000009
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000009
 LIB_DEPENDS+=	archive.5:misc/compat9x
 .endif
 --



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704071605.v37G5jbp031124>