ports/devel/p5-PPerl/files/patch-Makefile.PL
Rong-En Fan 19cbb974d6 - Fix test on amd64
Note that it still fails due to the multiuser patch. However, I think
  this PR already improves PPerl on amd64 a lot. So, I decide to commit
  it first.
- Correct CFLAGS passed to cc (patch-Makefile.PL)

These patches were sent to the author via CPAN RT.

PR:		ports/103282
Submitted by:	Vivek Khera <vivek at khera.org>
2006-09-18 13:18:55 +00:00

11 lines
373 B
Perl

--- Makefile.PL.orig Fri Sep 15 21:59:08 2006
+++ Makefile.PL Fri Sep 15 21:59:24 2006
@@ -69,7 +69,7 @@
main.o: Makefile main.c pperl.h
pperl: main.o pass_fd.o
-\t\$(CC) \$(CFLAGS) \$(LDFLAGS) \$(DEFINE) -o pperl main.o pass_fd.o $Config{libs}
+\t\$(CC) \$(CCFLAGS) \$(OPTIMIZE) \$(LDFLAGS) \$(DEFINE) -o pperl main.o pass_fd.o $Config{libs}
pass_fd.c: pass_fd.h