From ad48dba20f59da78b0f781fe18c1564205d1baa6 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 27 Nov 2001 16:28:26 +0000 Subject: [PATCH] CFLAGS is not suitable for `optimize' thing; it spams Config.pm with -nostdinc which breaks Perl ports building. This change will be re-applied if BDE agrees on having COPTFLAGS in userland. PR: bin/31877 --- gnu/usr.bin/perl/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/perl/Makefile.inc b/gnu/usr.bin/perl/Makefile.inc index b5b8d217bb0a..2a45614e64f9 100644 --- a/gnu/usr.bin/perl/Makefile.inc +++ b/gnu/usr.bin/perl/Makefile.inc @@ -60,8 +60,8 @@ links: ${DEPEND_H} @ln -sf ${PERL5SRC}/writemain.SH writemain.sh @ln -sf ${PERL5SRC}/regcomp.c regcomp.c @ln -sf ${PERL5SRC}/regexec.c regexec.c - @sed "s;^optimize=.*$$;optimize=\'${CFLAGS}\';" \ - ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} > config.sh + @ln -sf ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \ + config.sh @touch ${.TARGET} scripts: links