<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">On 8 ottobre 2015 at 13:14:31, René J.V. (<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>) wrote:</div> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>On Thursday October 08 2015 11:46:49 Aljaž Srebrnič wrote:
<br></div></div></span></blockquote><blockquote type="cite" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; padding-left: 5px; border-left-width: 1px !important; border-left-color: rgb(0, 64, 128) !important;"><blockquote type="cite" class="clean_bq">Hm, that’s interesting. Indeed on lines 110 and 187 of python-1.0.tcl depends_lib is used directly, but on lines 100 and 191 depends_lib-append is used.&nbsp;<br>In the qt4 PortGroup only depends_lib-append is used though. I wonder what happens if you call the python PortGroup first, and the qt4 one below it?&nbsp;</blockquote></blockquote><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div><br>I haven't tried that in this case, but when I wrote my own port for py-kde4 I learnt that you either use the Python portgroup as the last included portgroup (and put up with its side-effects), or you don't use it - depending on whether the project uses `setup.py` for building. If you include the Qt4 portgroup after the Python portgroup it's quite possible that you have to reset things that are more complicated to reset than depends_lib.<span class="Apple-converted-space">&nbsp;</span><br><br>I haven't yet looked at python-1.0.tcl in detail; do you think there's a reason to use depends_lib directly rather than appending to it, on the lines you cite? There are no comments to explain the difference (line 187 really should).<span class="Apple-converted-space">&nbsp;</span><br><br>BTW, line 100 was changed from `depends_lib` to `depends_lib-append` yesterday, I guess I should check whether that change was in reaction to this thread and if it addresses the issue I ran in to. The commit message isn't very explicit about what's being appended to rather than overwritten ...<span class="Apple-converted-space">&nbsp;</span></div></div></span></blockquote></div><p>I don’t know the reason depends_lib is user, but in my (limited) knowledge, -append should equally work. Michael, what do you think?</p></body></html>