Not sure about cpan; for cpanm there is --configure-args (experimental), so maybe try:
cpanm --configure-args="CCFLAGS='-F /Library/Frameworks'"
In reply to Re: Passing compilation options through to cpan/cpanm
by chrstphrchvz
in thread Passing compilation options through to cpan/cpanm
by ondohotola
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |