Index: Makefile =================================================================== --- Makefile (revision 97) +++ Makefile (revision 128) @@ -39,6 +39,7 @@ MAN5= rsyncd.conf.5 OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \ + TIMELIMIT "Time limit patch" on \ 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 \ @@ -46,7 +47,15 @@ .include -.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= can't be built: Flags and Timelimit patches 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