summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-11-27 16:28:26 +0000
committerru <ru@FreeBSD.org>2001-11-27 16:28:26 +0000
commita2f0a76ebcd5b63f172b9f17a662de0c4d59ff22 (patch)
tree58863b3a153882250bd57f979657847bef48f11c /gnu
parent63b6483616140f4f722b58cae0de354ed5a260f3 (diff)
downloadFreeBSD-src-a2f0a76ebcd5b63f172b9f17a662de0c4d59ff22.zip
FreeBSD-src-a2f0a76ebcd5b63f172b9f17a662de0c4d59ff22.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/Makefile.inc b/gnu/usr.bin/perl/Makefile.inc
index b5b8d21..2a45614 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
OpenPOWER on IntegriCloud