svn commit: r437937 - head/misc/compat9x
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 7 16:05:46 UTC 2017
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
--
More information about the svn-ports-head
mailing list