1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Provide an optional "Time limit patch"

PR:		124553
Submitted by:	Adrian Thearle <adrian@thearle.com.au>
This commit is contained in:
Emanuel Haupt 2008-06-26 14:03:48 +00:00
parent 1bfd5ca751
commit 4a47fea9ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215799

View File

@ -42,11 +42,20 @@ OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \
SSH "Use SSH instead of RSH" on \
FLAGS "File system flags support patch, adds --fileflags" off \
ACL "Add backward-compatibility for the --acls option" off \
ICONV "Add iconv support" off
ICONV "Add iconv support" off \
TIMELIMIT "Time limit patch" off
.include <bsd.port.pre.mk>
.if defined(WITH_ICONV) || defined(WITH_FLAGS) || defined(WITH_ACL) || make(makesum)
.if !defined(WITHOUT_TIMELIMIT)
PATCH_STRIP= -p1
EXTRA_PATCHES+= ${WRKSRC}/patches/time-limit.diff
.if defined(WITH_FLAGS)
IGNORE= flags and timelimit can't be both enabled at the same time. Please rerun 'make config' and disable one of them
.endif
.endif
.if defined(WITH_ICONV) || defined(WITH_FLAGS) || defined(WITH_ACL) || make(makesum) || defined(WITH_TIMELIMIT)
DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
.endif