From db1cf9f37e077ced3c1327f6c03f892f46ec6383 Mon Sep 17 00:00:00 2001 From: "wtchang%redhat.com" Date: Tue, 15 Aug 2006 21:35:25 +0000 Subject: [PATCH] Bugzilla Bug 325148: worked around the change of backslash-newline behavior inside single-quoted strings in GNU make 3.81. The patch is contributed by Pawel Chmielowski . r=benjamin.smedberg,wtc. --- security/coreconf/rules.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/security/coreconf/rules.mk b/security/coreconf/rules.mk index ee9e5e8ceb7..fd1a4bb6afd 100644 --- a/security/coreconf/rules.mk +++ b/security/coreconf/rules.mk @@ -873,8 +873,7 @@ endif ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET))) # Can't use sed because of its 4000-char line length limit, so resort to perl -.DEFAULT: - @perl -e ' \ +PERL_DEPENDENCIES_PROGRAM = \ open(MD, "< $(DEPENDENCIES)"); \ while () { \ if (m@ \.*/*$< @) { \ @@ -901,7 +900,10 @@ ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET))) } elsif ("$<" ne "$(DEPENDENCIES)") { \ print "$(MAKE): *** No rule to make target $<. Stop.\n"; \ exit(1); \ - }' + } + +.DEFAULT: + @perl -e '$(PERL_DEPENDENCIES_PROGRAM)' endif #############################################################################