From 183d198f5d054327a76e0344fc2be0cfebf75ee3 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 7 Apr 2017 16:05:45 +0000 Subject: - Always check OPSYS along with OSVERSION - Remove always false OSVERSION condition Approved by: portmgr blanket --- misc/compat9x/Makefile | 6 +----- misc/compat9x/pkg-descr | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'misc/compat9x') diff --git a/misc/compat9x/Makefile b/misc/compat9x/Makefile index 91bb88777199..d3f4e70386e9 100644 --- a/misc/compat9x/Makefile +++ b/misc/compat9x/Makefile @@ -20,11 +20,7 @@ USE_LDCONFIG= ${TARGET_DIR} .include -.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 diff --git a/misc/compat9x/pkg-descr b/misc/compat9x/pkg-descr index ccd9711d536f..5392c17a2516 100644 --- a/misc/compat9x/pkg-descr +++ b/misc/compat9x/pkg-descr @@ -6,7 +6,7 @@ Ports usage example: -- .include -.if ${OSVERSION} >= 1000009 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000009 LIB_DEPENDS+= archive.5:misc/compat9x .endif -- -- cgit v1.2.3