$NetBSD: patch-ai,v 1.1 2001/09/18 21:57:17 skrll Exp $ --- perl/sieve/acap/Makefile.PL.orig Tue Jun 13 21:32:21 2000 +++ perl/sieve/acap/Makefile.PL @@ -42,6 +42,8 @@ my $SASL_INC = $ENV{SASL_INC}; my $SASL_LIB = $ENV{SASL_LIB} || "-lsasl"; +my $EXTRA_INC = $ENV{EXTRA_INC}; + # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( @@ -49,5 +51,5 @@ 'VERSION_FROM' => 'acap.pm', # finds $VERSION 'LIBS' => ["-L../../../acap/ -lacap $SASL_LIB -L../../../lib/ -lcyrus -lssl -lcrypto"], # e.g., '-lm' 'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' - 'INC' => "-I../../../acap/ $SASL_INC", # e.g., '-I/usr/include/other' + 'INC' => "-I../../../acap/ $SASL_INC $EXTRA_INC", # e.g., '-I/usr/include/other' );