svn commit: r431288 - head/sysutils/and

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jan 12 17:05:42 UTC 2017


Author: amdmi3
Date: Thu Jan 12 17:05:41 2017
New Revision: 431288
URL: https://svnweb.freebsd.org/changeset/ports/431288

Log:
  - Always check OPSYS along with OSVERSION
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/and/Makefile

Modified: head/sysutils/and/Makefile
==============================================================================
--- head/sysutils/and/Makefile	Thu Jan 12 17:05:18 2017	(r431287)
+++ head/sysutils/and/Makefile	Thu Jan 12 17:05:41 2017	(r431288)
@@ -19,7 +19,7 @@ NOPRECIOUSMAKEVARS=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 1100095
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100095
 post-patch:
 	@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
 		${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c


More information about the svn-ports-all mailing list