aboutsummaryrefslogtreecommitdiff
path: root/misc/compat9x
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:05:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:05:45 +0000
commit183d198f5d054327a76e0344fc2be0cfebf75ee3 (patch)
tree98f917f820dfa14e69e25abc57058db6fe344b6e /misc/compat9x
parentdaab54825d4d6a2e622f69c6c7e36a7fce62f1a3 (diff)
downloadports-183d198f5d054327a76e0344fc2be0cfebf75ee3.tar.gz
ports-183d198f5d054327a76e0344fc2be0cfebf75ee3.zip
- Always check OPSYS along with OSVERSION
- Remove always false OSVERSION condition Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=437937
Diffstat (limited to 'misc/compat9x')
-rw-r--r--misc/compat9x/Makefile6
-rw-r--r--misc/compat9x/pkg-descr2
2 files changed, 2 insertions, 6 deletions
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 <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
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 <bsd.port.pre.mk>
-.if ${OSVERSION} >= 1000009
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000009
LIB_DEPENDS+= archive.5:misc/compat9x
.endif
--