svn commit: r416930 - head/sysutils/and

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 15 16:58:02 UTC 2016


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 at 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 at 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>


More information about the svn-ports-head mailing list