New posix compliant xargs needs '-r' in case there aren't any files to

remove.

ok jakob@
This commit is contained in:
krw 2005-09-12 14:34:57 +00:00
parent bd695dbdc8
commit 018da6598f

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.50 2005/05/06 16:35:41 brad Exp $
# $OpenBSD: Makefile.inc,v 1.51 2005/09/12 14:34:57 krw Exp $
COMMENT= "fast, secure sendmail replacement"
@ -70,7 +70,7 @@ MAKE_AUXLIBS+= -L${LOCALBASE}/lib -lpq
.endif
post-patch:
@find ${WRKSRC} -type f -name '*.bak.orig' -print | xargs rm
@find ${WRKSRC} -type f -name '*.bak.orig' -print | xargs -r rm
do-configure:
@cd ${WRKSRC}; ${MAKE_PROGRAM} makefiles \