# Created by: Denis Barov # $FreeBSD$ PORTNAME= scprotect PORTVERSION= 20091116 CATEGORIES= sysutils kld MASTER_SITES= http://dindin.ru/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Protect process from killing when the swap space is exhausted USES= kmod uidfix WRKSRC= ${WRKDIR}/${PORTNAME} CFLAGS+= -DWITH_SCPROTECT_LIST .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 BROKEN= does not build on FreeBSD 11.x+ .endif post-extract: @cd ${WRKSRC}/kmod && ${RM} machine post-install: @${RM} -r ${STAGEDIR}/usr/lib/debug .include