[20856] trunk/dports/perl/p5-net-ssleay
source_changes at macosforge.org
source_changes at macosforge.org
Mon Dec 4 20:42:29 PST 2006
Revision: 20856
http://trac.macosforge.org/projects/macports/changeset/20856
Author: ricci at macports.org
Date: 2006-12-04 20:42:28 -0800 (Mon, 04 Dec 2006)
Log Message:
-----------
Make a better fix for the compiler mis-match warnings:
add ${prefix} to the configure.pre_args-append line before the -- so
that 'perl Makefile.PL' gets our openssl prefix right
make a patch for Makefile.PL that fixes the detection of the compiler
used for openssl - it didn't understand compiler names that didn't
end in "cc".
Modified Paths:
--------------
trunk/dports/perl/p5-net-ssleay/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-net-ssleay/files/
trunk/dports/perl/p5-net-ssleay/files/patch-Makefile.PL
Modified: trunk/dports/perl/p5-net-ssleay/Portfile
===================================================================
--- trunk/dports/perl/p5-net-ssleay/Portfile 2006-12-05 04:17:54 UTC (rev 20855)
+++ trunk/dports/perl/p5-net-ssleay/Portfile 2006-12-05 04:42:28 UTC (rev 20856)
@@ -11,9 +11,7 @@
checksums md5 b0cd6c1681bbc0695d81be5cd852d1d0
platforms darwin
-post-patch {
- reinplace "s|/usr/local/ssl|${prefix}|g" ${worksrcpath}/Makefile.PL
-}
+patchfiles patch-Makefile.PL
-configure.pre_args-append --
+configure.pre_args-append ${prefix} --
Added: trunk/dports/perl/p5-net-ssleay/files/patch-Makefile.PL
===================================================================
--- trunk/dports/perl/p5-net-ssleay/files/patch-Makefile.PL (rev 0)
+++ trunk/dports/perl/p5-net-ssleay/files/patch-Makefile.PL 2006-12-05 04:42:28 UTC (rev 20856)
@@ -0,0 +1,11 @@
+--- Makefile.PL 2005-12-09 02:41:42.000000000 -0800
++++ Makefile.PL 2006-12-04 20:38:57.000000000 -0800
+@@ -128,7 +129,7 @@
+ ### Check that perl and openssl were compiled using the same compiler
+ ### and options.
+
+- ($cc_et_alia) = grep /cc\s+-/i, `strings $exe_path`;
++ ($cc_et_alia) = grep /cc(|-\d+(|\.)\d*)\s+-/i, `strings $exe_path`;
+ if ($cc_et_alia) {
+ ($cc, %flags) = split /\s+/, $cc_et_alia;
+ if ($cc eq $Config{cc}) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061204/45affb13/attachment.html
More information about the macports-changes
mailing list