Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 17:05:41 +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: r431288 - head/sysutils/and
Message-ID:  <201701121705.v0CH5fYf066074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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