1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/sysutils/scprotect/Makefile
2017-05-28 11:55:35 +00:00

28 lines
649 B
Makefile

# Created by: Denis Barov <dindin@dindin.ru>
# $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
BROKEN_FreeBSD_11= does not build on FreeBSD 11.x+
BROKEN_FreeBSD_12= does not build on FreeBSD 11.x+: scprotect.c: 'sysctl__' undeclared (first use in this function)
USES= kmod uidfix
WRKSRC= ${WRKDIR}/${PORTNAME}
CFLAGS+= -DWITH_SCPROTECT_LIST
post-extract:
@cd ${WRKSRC}/kmod && ${RM} machine
post-install:
@${RM} -r ${STAGEDIR}/usr/lib/debug
.include <bsd.port.mk>