Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2016 16:58:01 +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: r416930 - head/sysutils/and
Message-ID:  <201606151658.u5FGw1fW054418@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jun 15 16:58:01 2016
New Revision: 416930
URL: https://svnweb.freebsd.org/changeset/ports/416930

Log:
  - Fix build on -CURRENT
  
  PR:		209771
  Submitted by:	portmaster@bsdforge.com (maintainer)

Modified:
  head/sysutils/and/Makefile

Modified: head/sysutils/and/Makefile
==============================================================================
--- head/sysutils/and/Makefile	Wed Jun 15 15:36:07 2016	(r416929)
+++ head/sysutils/and/Makefile	Wed Jun 15 16:58:01 2016	(r416930)
@@ -3,14 +3,26 @@
 
 PORTNAME=	and
 PORTVERSION=	1.2.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	Auto Nice Daemon
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 USES=		gmake
 ALL_TARGET=	default
 NOPRECIOUSMAKEVARS=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 1100095
+post-patch:
+	@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
+		${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c
+.endif
+
+.include <bsd.port.post.mk>



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