[106975] trunk/dports/finance/abtransfers/Portfile
MK-MacPorts at techno.ms
MK-MacPorts at techno.ms
Wed Jun 12 21:50:49 PDT 2013
On Jun 13, 2013, at 12:01 AM, Ryan Schmidt wrote:
>> -PortGroup qt4 1.0
>> +PortGroup qmake 1.0
> The whole point of using a portgroup is that it should simplify the port. So now that you're using the qmake portgroup, shouldn't you be able to remove the parts of the portfile that were manually running qmake?
Hmm, you are right. But I am puzzled by what I could do to fulfill your suggestion.
I tried to not to overwrite the configure phase and instead use pre-configure like this:
---
$ svn diff
Index: Portfile
===================================================================
--- Portfile (revision 106980)
+++ Portfile (working copy)
@@ -33,8 +33,9 @@
use_bzip2 yes
-configure {
- system -W ${worksrcpath} "qmake \"INCLUDEPATH += ${prefix}/include/aqbanking5 ${prefix}/include/gwenhywfar4\""
+pre-configure {
+# configure.args-append "INCLUDEPATH+=\"\${PREFIX}/include/aqbanking5 \${PREFIX}/include/gwenhywfar4\""
+ configure.args-append "INCLUDEPATH+=\"include/aqbanking5 include/gwenhywfar4\""
}
destroot {
---
but it didn't work out as hoped, e.g. making use of the PREFIX generated for qmake. Somehow INCLUDEPATH isn't being set as expected.
Also, I admit, this perhaps wouldn't really a simplification to this port.
The only addon is in general that there are now debug and universal variants supported due to making use of this port group.
Have you a hint how to solve the INCLUDEPATH issue?
Greets,
Marko
More information about the macports-dev
mailing list