From b043347913deee60ecbaf10d4a3cfacd2a812f69 Mon Sep 17 00:00:00 2001 From: Petar Bogdanovic Date: Fri, 6 Mar 2009 20:06:44 +0000 Subject: [PATCH] GNU sed does not understand `-E' and NetBSD sed does not understand `-r'. Also the POSIX specification does not mention EREs, so not using them is probably the most portable thing to do. Reported by Aleksey Cheusov on pkgsrc-wip-discuss. --- dcc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dcc/Makefile b/dcc/Makefile index a892b01bad..cf985f8071 100644 --- a/dcc/Makefile +++ b/dcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2009/02/26 10:14:42 pebog Exp $ +# $NetBSD: Makefile,v 1.8 2009/03/06 20:06:44 pebog Exp $ # # # Request by the author: @@ -43,7 +43,9 @@ FILES_SUBST+= DCC_RUN=${DCC_RUN} SUBST_CLASSES+= dae SUBST_STAGE.dae= post-patch SUBST_FILES.dae= homedir/dcc_conf.in -SUBST_SED.dae= -Ee 's!^(DCC(D|IFD|M)_ENABLE=)off$$!\1on!' +SUBST_SED.dae= -e 's/^\(DCCD_ENABLE=\)off$$/\1on/' \ + -e 's/^\(DCCM_ENABLE=\)off$$/\1on/' \ + -e 's/^\(DCCIFD_ENABLE=\)off$$/\1on/' SUBST_MESSAGE.dae= Enabling all daemons in dcc_conf HAS_CONFIGURE= yes