<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[131305] trunk/dports/lang/perl5.16</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/131305">131305</a></dd>
<dt>Author</dt> <dd>larryv@macports.org</dd>
<dt>Date</dt> <dd>2015-01-08 16:07:20 -0800 (Thu, 08 Jan 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>perl5.16: Reorganize patches and fix `Config{ld}`

The patch for setting `Config{ld}` hasn't been updated in years, so it
currently ends up as `env MACOSX_DEPLOYMENT_TARGET=10.3 &lt;value of CC&gt;`
on any OS newer than Mountain Lion. My fix should be more robust.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangperl516Portfile">trunk/dports/lang/perl5.16/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportslangperl516filesavoidbind9linkingpatch">trunk/dports/lang/perl5.16/files/avoid-bind9-linking.patch</a></li>
<li><a href="#trunkdportslangperl516filesavoidnocppprecompPR38913patch">trunk/dports/lang/perl5.16/files/avoid-no-cpp-precomp-PR38913.patch</a></li>
<li><a href="#trunkdportslangperl516filescleanuppathspatch">trunk/dports/lang/perl5.16/files/clean-up-paths.patch</a></li>
<li><a href="#trunkdportslangperl516filesfixcxxdNOOPPR43150patch">trunk/dports/lang/perl5.16/files/fix-cxx-dNOOP-PR43150.patch</a></li>
<li><a href="#trunkdportslangperl516filesfixminiperllinkingPR36438patch">trunk/dports/lang/perl5.16/files/fix-miniperl-linking-PR36438.patch</a></li>
<li><a href="#trunkdportslangperl516filesnoldoverridepatch">trunk/dports/lang/perl5.16/files/no-ld-override.patch</a></li>
<li><a href="#trunkdportslangperl516filesusestdboolpatch">trunk/dports/lang/perl5.16/files/use-stdbool.patch</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportslangperl516filespatchConfigurediff">trunk/dports/lang/perl5.16/files/patch-Configure.diff</a></li>
<li><a href="#trunkdportslangperl516filespatchMakefileSHdiff">trunk/dports/lang/perl5.16/files/patch-Makefile.SH.diff</a></li>
<li><a href="#trunkdportslangperl516filespatchhandyhstdbooldiff">trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff</a></li>
<li><a href="#trunkdportslangperl516filespatchhints_darwinshdiff">trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff</a></li>
<li><a href="#trunkdportslangperl516filespatchperlhdiff">trunk/dports/lang/perl5.16/files/patch-perl.h.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangperl516Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/perl5.16/Portfile (131304 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/Portfile        2015-01-09 00:06:56 UTC (rev 131304)
+++ trunk/dports/lang/perl5.16/Portfile        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -6,6 +6,7 @@
</span><span class="cx"> name                perl5.16
</span><span class="cx"> version             5.16.3
</span><span class="cx"> set branch          [join [lrange [split ${version} .] 0 1] .]
</span><ins>+revision            1
</ins><span class="cx"> categories          lang
</span><span class="cx"> platforms           darwin freebsd linux
</span><span class="cx"> license             {Artistic-1 GPL}
</span><span class="lines">@@ -28,22 +29,26 @@
</span><span class="cx"> checksums           rmd160  f25fdd72449156a7cbe989e8bd339fdba1afabc0 \
</span><span class="cx">                     sha256  bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8
</span><span class="cx"> 
</span><del>-patchfiles          patch-Configure.diff \
-                    patch-handy.h.stdbool.diff \
-                    patch-perl.h.diff
</del><ins>+patchfiles          clean-up-paths.patch \
+                    use-stdbool.patch \
+                    avoid-no-cpp-precomp-PR38913.patch \
+                    no-ld-override.patch
</ins><span class="cx"> 
</span><del>-platform darwin {
-    patchfiles-append   patch-hints_darwin.sh.diff
</del><ins>+# Prevent build from picking up the bind9 port's static libbind, which
+# duplicates symbols from /usr/lib/libdl (r10638).
+patchfiles-append   avoid-bind9-linking.patch
</ins><span class="cx"> 
</span><del>-    # Prevent miniperl build from finding libstdcxx (#36438).
-    patchfiles-append   patch-Makefile.SH.diff
-    post-patch {
-        reinplace &quot;s|__PREFIX_LIB__|${prefix}/lib|g&quot; ${worksrcpath}/Makefile.SH
-    }
-}
</del><ins>+# Prevent miniperl linking from accidentally finding our libstdc++
+# (#36438).
+patchfiles-append   fix-miniperl-linking-PR36438.patch
</ins><span class="cx"> 
</span><del>-pre-configure {
-    reinplace &quot;s|/opt/local|${prefix}|g&quot; ${worksrcpath}/Configure
</del><ins>+# Avoid a C++ linkage trick that recent Clang doesn't like. See #43150
+# and https://rt.perl.org/Public/Bug/Display.html?id=121714.
+patchfiles-append   fix-cxx-dNOOP-PR43150.patch
+
+post-patch {
+    reinplace -W ${worksrcpath} &quot;s|__PREFIX__|${prefix}|g&quot; \
+           Configure Makefile.SH
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> configure.ccache    no
</span><span class="lines">@@ -64,7 +69,7 @@
</span><span class="cx">                     -Dusethreads \
</span><span class="cx">                     -Duseshrplib \
</span><span class="cx">                    {-Dcc=&quot;$CC&quot;} \
</span><del>-                   {-Dld=&quot;$CC&quot;} \
</del><ins>+                   {-Dld=&quot;env MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET $CC&quot;} \
</ins><span class="cx">                     -Dman1ext=1pm \
</span><span class="cx">                     -Dman3ext=3pm \
</span><span class="cx">                     -Dman1dir='${prefix}/share/man/man1p' \
</span></span></pre></div>
<a id="trunkdportslangperl516filesavoidbind9linkingpatchfromrev131283trunkdportslangperl516filespatchhints_darwinshdiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/avoid-bind9-linking.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/avoid-bind9-linking.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/avoid-bind9-linking.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+Index: hints/darwin.sh
+===================================================================
+--- hints/darwin.sh.orig
++++ hints/darwin.sh
+@@ -315,6 +315,8 @@ i_dbm=undef;
+ # NeilW says this should be acceptable on all darwin versions.
+ ranlib='ranlib'

++libswanted=&quot;$(echo $libswanted | sed -e 's/bind //' -e 's/ bind//')&quot;
++
+ ##
+ # Build process
+ ##
</ins></span></pre></div>
<a id="trunkdportslangperl516filesavoidnocppprecompPR38913patchfromrev131283trunkdportslangperl516filespatchhints_darwinshdiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/avoid-no-cpp-precomp-PR38913.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/avoid-no-cpp-precomp-PR38913.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/avoid-no-cpp-precomp-PR38913.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+Index: hints/darwin.sh
+===================================================================
+--- hints/darwin.sh.orig
++++ hints/darwin.sh
+@@ -129,8 +129,6 @@ esac

+ # Avoid Apple's cpp precompiler, better for extensions
+ if [ &quot;X`echo | ${cc} -no-cpp-precomp -E - 2&gt;&amp;1 &gt;/dev/null`&quot; = &quot;X&quot; ]; then
+-    cppflags=&quot;${cppflags} -no-cpp-precomp&quot;
+-
+     # This is necessary because perl's build system doesn't
+     # apply cppflags to cc compile lines as it should.
+     ccflags=&quot;${ccflags} ${cppflags}&quot;
</ins></span></pre></div>
<a id="trunkdportslangperl516filescleanuppathspatchfromrev131283trunkdportslangperl516filespatchConfigurediff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/clean-up-paths.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-Configure.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/clean-up-paths.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/clean-up-paths.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+Index: Configure
+===================================================================
+--- Configure.orig
++++ Configure
+@@ -106,8 +106,8 @@ if test -d c:/. || ( uname -a | grep -i 
+ fi

+ : Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
+-paths=&quot;$paths /opt/bin /opt/local/bin /opt/local /opt/lbin&quot;
++paths='/bin /usr/bin /usr/ucb /usr/lbin'
++paths=&quot;$paths /opt/bin __PREFIX__/bin __PREFIX__ /opt/lbin&quot;
+ paths=&quot;$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin&quot;
+ paths=&quot;$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin&quot;
+ paths=&quot;$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb&quot;
+@@ -1323,7 +1323,7 @@ archobjs=''
+ archname=''
+ : Possible local include directories to search.
+ : Set locincpth to &quot;&quot; in a hint file to defeat local include searches.
+-locincpth=&quot;/usr/local/include /opt/local/include /usr/gnu/include&quot;
++locincpth=&quot;__PREFIX__/include /usr/gnu/include&quot;
+ locincpth=&quot;$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include&quot;
+ :
+ : no include file wanted by default
+@@ -1337,12 +1337,12 @@ libnames=''
+ : change the next line if compiling for Xenix/286 on Xenix/386
+ xlibpth='/usr/lib/386 /lib/386'
+ : Possible local library directories to search.
+-loclibpth=&quot;/usr/local/lib /opt/local/lib /usr/gnu/lib&quot;
++loclibpth=&quot;__PREFIX__/lib /usr/gnu/lib&quot;
+ loclibpth=&quot;$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib&quot;

+ : general looking path for locating libraries
+ glibpth=&quot;/lib /usr/lib $xlibpth&quot;
+-glibpth=&quot;$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib&quot;
++glibpth=&quot;$glibpth /usr/ccs/lib /usr/ucblib&quot;
+ test -f /usr/shlib/libc.so &amp;&amp; glibpth=&quot;/usr/shlib $glibpth&quot;
+ test -f /shlib/libc.so     &amp;&amp; glibpth=&quot;/shlib $glibpth&quot;
+ test -d /usr/lib64         &amp;&amp; glibpth=&quot;$glibpth /lib64 /usr/lib64 /usr/local/lib64&quot;
</ins></span></pre></div>
<a id="trunkdportslangperl516filesfixcxxdNOOPPR43150patchfromrev131283trunkdportslangperl516filespatchperlhdiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/fix-cxx-dNOOP-PR43150.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-perl.h.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/fix-cxx-dNOOP-PR43150.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/fix-cxx-dNOOP-PR43150.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+From 7db66e12883f0832ca80164b723768b848187bda Mon Sep 17 00:00:00 2001
+From: &quot;Craig A. Berry&quot; &lt;craigberry@mac.com&gt;
+Date: Wed, 30 May 2012 18:57:51 -0500
+Subject: [PATCH 1/1] A more C++-friendly dNOOP.
+
+The problem with Perl___notused under C++ is that in some cases
+it's merely extern, and in some cases (via the XS macro via the
+XSPROTO macro) it's extern &quot;C&quot;.  Object code analysis shows that
+you do actually get one mangled and one unmangled version of the
+symbol, which wouldn't matter since the whole point is to have
+something we never use.
+
+Except that one very picky C++ compiler (HP C++ for OpenVMS) sees
+what we're up to and slaps us down hard.  Since declaration after
+statement has always been allowed in C++, just go ahead and do a
+real noop statement for C++ and avoid the use of an external
+symbol.
+---
+ perl.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git perl.h perl.h
+index 3d89f8a..798e7b7 100644
+--- perl.h
++++ perl.h
+@@ -359,7 +359,11 @@
+ /* Rats: if dTHR is just blank then the subsequent &quot;;&quot; throws an error */
+ /* Declaring a *function*, instead of a variable, ensures that we don't rely
+    on being able to suppress &quot;unused&quot; warnings.  */
++#ifdef __cplusplus
++#define dNOOP (void)0
++#else
+ #define dNOOP extern int Perl___notused(void)
++#endif

+ #ifndef pTHX
+ /* Don't bother defining tTHX and sTHX; using them outside
+-- 
+2.2.1-313-gcc831f2
+
</ins></span></pre></div>
<a id="trunkdportslangperl516filesfixminiperllinkingPR36438patchfromrev131283trunkdportslangperl516filespatchMakefileSHdiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/fix-miniperl-linking-PR36438.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-Makefile.SH.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/fix-miniperl-linking-PR36438.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/fix-miniperl-linking-PR36438.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+Index: Makefile.SH
+===================================================================
+--- Makefile.SH.orig
++++ Makefile.SH
+@@ -860,7 +860,8 @@ NAMESPACEFLAGS = -force_flat_namespace
+                 $spitshell &gt;&gt;$Makefile &lt;&lt;'!NO!SUBS!'
+ $(MINIPERL_EXE): $&amp; $(mini_obj)
+         -@rm -f miniperl.xok
+-        $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
++        unset LIBRARY_PATH &amp;&amp; \
++        $(CC) $(subst -L__PREFIX__/lib,,$(CLDFLAGS)) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
+             $(mini_obj) $(libs)
+         $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '&lt;?&gt;' || $(MAKE) minitest
+ !NO!SUBS!
</ins></span></pre></div>
<a id="trunkdportslangperl516filesnoldoverridepatchfromrev131283trunkdportslangperl516filespatchhints_darwinshdiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/no-ld-override.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/no-ld-override.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/no-ld-override.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+Index: hints/darwin.sh
+===================================================================
+--- hints/darwin.sh.orig
++++ hints/darwin.sh
+@@ -141,7 +141,6 @@ esac

+ # Shared library extension is .dylib.
+ # Bundle extension is .bundle.
+-ld='cc';
+ so='dylib';
+ dlext='bundle';
+ usedl='define';
+@@ -182,7 +181,7 @@ case &quot;$osvers&quot; in
+ *) 
+    lddlflags=&quot;${ldflags} -bundle -undefined dynamic_lookup&quot;
+    case &quot;$ld&quot; in
+-       *MACOSX_DEVELOPMENT_TARGET*) ;;
++       *MACOSX_DEPLOYMENT_TARGET*) ;;
+        *) ld=&quot;env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}&quot; ;;
+    esac
+    ;;
</ins></span></pre></div>
<a id="trunkdportslangperl516filespatchConfigurediff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/perl5.16/files/patch-Configure.diff (131304 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/patch-Configure.diff        2015-01-09 00:06:56 UTC (rev 131304)
+++ trunk/dports/lang/perl5.16/files/patch-Configure.diff        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>---- Configure.orig        2011-05-07 20:10:08.000000000 -0700
-+++ Configure        2011-06-13 12:50:01.000000000 -0700
-@@ -106,7 +106,7 @@
- fi

- : Proper PATH setting
--paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
-+paths='/bin /usr/bin /usr/ucb /usr/lbin'
- paths=&quot;$paths /opt/bin /opt/local/bin /opt/local /opt/lbin&quot;
- paths=&quot;$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin&quot;
- paths=&quot;$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin&quot;
-@@ -1323,7 +1323,7 @@
- archname=''
- : Possible local include directories to search.
- : Set locincpth to &quot;&quot; in a hint file to defeat local include searches.
--locincpth=&quot;/usr/local/include /opt/local/include /usr/gnu/include&quot;
-+locincpth=&quot;/opt/local/include /usr/gnu/include&quot;
- locincpth=&quot;$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include&quot;
- :
- : no include file wanted by default
-@@ -1337,12 +1337,12 @@
- : change the next line if compiling for Xenix/286 on Xenix/386
- xlibpth='/usr/lib/386 /lib/386'
- : Possible local library directories to search.
--loclibpth=&quot;/usr/local/lib /opt/local/lib /usr/gnu/lib&quot;
-+loclibpth=&quot;/opt/local/lib /usr/gnu/lib&quot;
- loclibpth=&quot;$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib&quot;

- : general looking path for locating libraries
- glibpth=&quot;/lib /usr/lib $xlibpth&quot;
--glibpth=&quot;$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib&quot;
-+glibpth=&quot;$glibpth /usr/ccs/lib /usr/ucblib&quot;
- test -f /usr/shlib/libc.so &amp;&amp; glibpth=&quot;/usr/shlib $glibpth&quot;
- test -f /shlib/libc.so     &amp;&amp; glibpth=&quot;/shlib $glibpth&quot;
- test -d /usr/lib64         &amp;&amp; glibpth=&quot;$glibpth /lib64 /usr/lib64 /usr/local/lib64&quot;
</del></span></pre></div>
<a id="trunkdportslangperl516filespatchMakefileSHdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/perl5.16/files/patch-Makefile.SH.diff (131304 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/patch-Makefile.SH.diff        2015-01-09 00:06:56 UTC (rev 131304)
+++ trunk/dports/lang/perl5.16/files/patch-Makefile.SH.diff        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>---- Makefile.SH.orig        2012-08-03 13:35:26.000000000 -0400
-+++ Makefile.SH        2013-05-12 13:36:28.000000000 -0400
-@@ -860,7 +860,8 @@
-                 $spitshell &gt;&gt;$Makefile &lt;&lt;'!NO!SUBS!'
- $(MINIPERL_EXE): $&amp; $(mini_obj)
-         -@rm -f miniperl.xok
--        $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
-+        unset LIBRARY_PATH &amp;&amp; \
-+        $(CC) $(subst -L__PREFIX_LIB__,,$(CLDFLAGS)) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
-             $(mini_obj) $(libs)
-         $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '&lt;?&gt;' || $(MAKE) minitest
- !NO!SUBS!
</del></span></pre></div>
<a id="trunkdportslangperl516filespatchhandyhstdbooldiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff (131304 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff        2015-01-09 00:06:56 UTC (rev 131304)
+++ trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>---- handy.h.orig
-+++ handy.h
-@@ -77,41 +77,8 @@ Null SV pointer. (No longer available when C&lt;PERL_CORE&gt; is defined.)
- #  endif
- #endif

--/* bool is built-in for g++-2.6.3 and later, which might be used
--   for extensions.  &lt;_G_config.h&gt; defines _G_HAVE_BOOL, but we can't
--   be sure _G_config.h will be included before this file.  _G_config.h
--   also defines _G_HAVE_BOOL for both gcc and g++, but only g++
--   actually has bool.  Hence, _G_HAVE_BOOL is pretty useless for us.
--   g++ can be identified by __GNUG__.
--   Andy Dougherty        February 2000
--*/
--#ifdef __GNUG__                /* GNU g++ has bool built-in */
--#  ifndef HAS_BOOL
--#    define HAS_BOOL 1
--#  endif
--#endif
--
--/* The NeXT dynamic loader headers will not build with the bool macro
--   So declare them now to clear confusion.
--*/
--#if defined(NeXT) || defined(__NeXT__)
--# undef FALSE
--# undef TRUE
--  typedef enum bool { FALSE = 0, TRUE = 1 } bool;
--# define ENUM_BOOL 1
--# ifndef HAS_BOOL
--#  define HAS_BOOL 1
--# endif /* !HAS_BOOL */
--#endif /* NeXT || __NeXT__ */
--
--#ifndef HAS_BOOL
--# if defined(UTS) || defined(VMS)
--#  define bool int
--# else
--#  define bool char
--# endif
--# define HAS_BOOL 1
--#endif
-+#define HAS_BOOL 1
-+#include &lt;stdbool.h&gt;

- /* a simple (bool) cast may not do the right thing: if bool is defined
-  * as char for example, then the cast from int is implementation-defined
</del></span></pre></div>
<a id="trunkdportslangperl516filespatchhints_darwinshdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff (131304 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff        2015-01-09 00:06:56 UTC (rev 131304)
+++ trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>---- hints/darwin.sh.orig        2013-05-08 11:13:45.000000000 -0600
-+++ hints/darwin.sh        2013-05-08 11:15:04.000000000 -0600
-@@ -129,7 +129,7 @@

- # Avoid Apple's cpp precompiler, better for extensions
- if [ &quot;X`echo | ${cc} -no-cpp-precomp -E - 2&gt;&amp;1 &gt;/dev/null`&quot; = &quot;X&quot; ]; then
--    cppflags=&quot;${cppflags} -no-cpp-precomp&quot;
-+    #cppflags=&quot;${cppflags} -no-cpp-precomp&quot;

-     # This is necessary because perl's build system doesn't
-     # apply cppflags to cc compile lines as it should.
-@@ -143,7 +143,6 @@

- # Shared library extension is .dylib.
- # Bundle extension is .bundle.
--ld='cc';
- so='dylib';
- dlext='bundle';
- usedl='define';
-@@ -181,6 +180,34 @@
-    ldflags=&quot;${ldflags} -flat_namespace&quot;
-    lddlflags=&quot;${ldflags} -bundle -undefined suppress&quot;
-    ;;
-+9.*)
-+   lddlflags=&quot;${ldflags} -bundle -undefined dynamic_lookup&quot;
-+   case &quot;$ld&quot; in
-+       *MACOSX_DEVELOPMENT_TARGET*) ;;
-+       *) ld=&quot;env MACOSX_DEPLOYMENT_TARGET=10.5 ${ld}&quot; ;;
-+   esac
-+   ;;
-+10.*)
-+   lddlflags=&quot;${ldflags} -bundle -undefined dynamic_lookup&quot;
-+   case &quot;$ld&quot; in
-+       *MACOSX_DEVELOPMENT_TARGET*) ;;
-+       *) ld=&quot;env MACOSX_DEPLOYMENT_TARGET=10.6 ${ld}&quot; ;;
-+   esac
-+   ;;
-+11.*)
-+   lddlflags=&quot;${ldflags} -bundle -undefined dynamic_lookup&quot;
-+   case &quot;$ld&quot; in
-+       *MACOSX_DEVELOPMENT_TARGET*) ;;
-+       *) ld=&quot;env MACOSX_DEPLOYMENT_TARGET=10.7 ${ld}&quot; ;;
-+   esac
-+   ;;
-+12.*)
-+   lddlflags=&quot;${ldflags} -bundle -undefined dynamic_lookup&quot;
-+   case &quot;$ld&quot; in
-+       *MACOSX_DEVELOPMENT_TARGET*) ;;
-+       *) ld=&quot;env MACOSX_DEPLOYMENT_TARGET=10.8 ${ld}&quot; ;;
-+   esac
-+   ;;
- *) 
-    lddlflags=&quot;${ldflags} -bundle -undefined dynamic_lookup&quot;
-    case &quot;$ld&quot; in
-@@ -262,6 +289,10 @@
- ;;
- esac

-+# When the bind9 port is installed, its libbind includes dups from
-+# /usr/lib/libdl, so remove libbind
-+libswanted=`echo $libswanted | sed 's/ bind / /'`
-+
- ##
- # System libraries
- ##
-@@ -326,3 +357,5 @@
- # makefile in the same place.  Since Darwin uses GNU make, this dodges
- # the problem.
- firstmakefile=GNUmakefile;
-+
-+usenm='false'
</del></span></pre></div>
<a id="trunkdportslangperl516filespatchperlhdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/perl5.16/files/patch-perl.h.diff (131304 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/patch-perl.h.diff        2015-01-09 00:06:56 UTC (rev 131304)
+++ trunk/dports/lang/perl5.16/files/patch-perl.h.diff        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-Backported patch from Perl 5.18.
-
-https://rt.perl.org/Ticket/Display.html?id=121714
-https://trac.macports.org/ticket/43150
-
---- perl.h.orig
-+++ perl.h
-@@ -359,7 +359,11 @@
- /* Rats: if dTHR is just blank then the subsequent &quot;;&quot; throws an error */
- /* Declaring a *function*, instead of a variable, ensures that we don't rely
-    on being able to suppress &quot;unused&quot; warnings.  */
-+#ifdef __cplusplus
-+#define dNOOP (void)0
-+#else
- #define dNOOP extern int Perl___notused(void)
-+#endif

- #ifndef pTHX
- /* Don't bother defining tTHX and sTHX; using them outside
</del></span></pre></div>
<a id="trunkdportslangperl516filesusestdboolpatchfromrev131283trunkdportslangperl516filespatchhandyhstdbooldiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/perl5.16/files/use-stdbool.patch (from rev 131283, trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff) (0 => 131305)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.16/files/use-stdbool.patch                                (rev 0)
+++ trunk/dports/lang/perl5.16/files/use-stdbool.patch        2015-01-09 00:07:20 UTC (rev 131305)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+Index: handy.h
+===================================================================
+--- handy.h.orig
++++ handy.h
+@@ -77,41 +77,8 @@ Null SV pointer. (No longer available wh
+ #  endif
+ #endif

+-/* bool is built-in for g++-2.6.3 and later, which might be used
+-   for extensions.  &lt;_G_config.h&gt; defines _G_HAVE_BOOL, but we can't
+-   be sure _G_config.h will be included before this file.  _G_config.h
+-   also defines _G_HAVE_BOOL for both gcc and g++, but only g++
+-   actually has bool.  Hence, _G_HAVE_BOOL is pretty useless for us.
+-   g++ can be identified by __GNUG__.
+-   Andy Dougherty        February 2000
+-*/
+-#ifdef __GNUG__                /* GNU g++ has bool built-in */
+-#  ifndef HAS_BOOL
+-#    define HAS_BOOL 1
+-#  endif
+-#endif
+-
+-/* The NeXT dynamic loader headers will not build with the bool macro
+-   So declare them now to clear confusion.
+-*/
+-#if defined(NeXT) || defined(__NeXT__)
+-# undef FALSE
+-# undef TRUE
+-  typedef enum bool { FALSE = 0, TRUE = 1 } bool;
+-# define ENUM_BOOL 1
+-# ifndef HAS_BOOL
+-#  define HAS_BOOL 1
+-# endif /* !HAS_BOOL */
+-#endif /* NeXT || __NeXT__ */
+-
+-#ifndef HAS_BOOL
+-# if defined(UTS) || defined(VMS)
+-#  define bool int
+-# else
+-#  define bool char
+-# endif
+-# define HAS_BOOL 1
+-#endif
++#define HAS_BOOL 1
++#include &lt;stdbool.h&gt;

+ /* a simple (bool) cast may not do the right thing: if bool is defined
+  * as char for example, then the cast from int is implementation-defined
</ins></span></pre>
</div>
</div>

</body>
</html>