|
From: Ian R. <iro...@us...> - 2005-11-15 04:09:17
|
Update of /cvsroot/perl-openssl/Crypt/OpenSSL/RSA In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9147 Modified Files: Makefile.PL Log Message: Help out redhat folks Index: Makefile.PL =================================================================== RCS file: /cvsroot/perl-openssl/Crypt/OpenSSL/RSA/Makefile.PL,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile.PL 25 Feb 2004 03:00:40 -0000 1.5 --- Makefile.PL 15 Nov 2005 04:09:05 -0000 1.6 *************** *** 2,5 **** --- 2,10 ---- # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. + + my $KERBEROS_INCLUDE = "/usr/kerberos/include"; + + my $include = -d $KERBEROS_INCLUDE ? "-I${KERBEROS_INCLUDE}" : ""; + WriteMakefile( 'NAME' => 'Crypt::OpenSSL::RSA', *************** *** 11,14 **** 'DEFINE' => '-DPERL5 -DOPENSSL_NO_KRB5', # perl-5.8/gcc-3.2 needs -DPERL5, and redhat9 likes -DOPENSSL_NO_KRB5 ! 'INC' => '', # e.g., '-I/usr/include/other' ); --- 16,19 ---- 'DEFINE' => '-DPERL5 -DOPENSSL_NO_KRB5', # perl-5.8/gcc-3.2 needs -DPERL5, and redhat9 likes -DOPENSSL_NO_KRB5 ! 'INC' => $include, # e.g., '-I/usr/include/other' ); |