--- Makefile.PL.orig 2015-04-15 10:08:52.000000000 -0700 +++ Makefile.PL 2015-04-15 10:14:51.000000000 -0700 @@ -59,11 +59,16 @@ # --- Discover how much of stdio is implemented -my $cpp = $Config{cpp} || do { - warn "Warning: cpp not found in your perl config. Falling back to 'cat'\n"; - 'cat'; -}; +#my $cpp = $Config{cpp} || do { +# warn "Warning: cpp not found in your perl config. Falling back to 'cat'\n"; +# 'cat'; +#}; +# current MacPorts perls set $Config{cpp} to 'cpp' +# use ${configure.cpp} instead + +my $cpp='__MP_CPP__' ; + print "Looking for header files and functions...\n"; my $INCLUDE;