New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83190


Ignore:
Timestamp:
08/27/11 10:13:01 (4 years ago)
Author:
jwa@…
Message:

change confdir to a variable, fix #29475

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/python32/Portfile

    r82967 r83190  
    7979select.group            python 
    8080select.file             ${filespath}/python[string map {. {}} ${branch}] 
     81set confdir config-${branch}m 
    8182 
    8283notes \ 
     
    101102   # full path to the proper Python framework file (which becomes 
    102103   # ${prefix}/Library/Frameworks/Python.framework/Versions/3.2/Python) 
    103     reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/config-${branch}m/Makefile 
     104    reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile 
    104105 
    105106   # remove -arch flags from the config 
    106    reinplace -E {s|-arch [a-z0-9_]+||g} \ 
    107       ${destroot}${framewdir}/lib/python${branch}/config-${branch}m/Makefile 
     107    reinplace -E {s|-arch [a-z0-9_]+||g} \ 
     108       ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile 
    108109} 
    109110 
     
    146147variant ucs4 description {Use 4-byte Unicode characters} { 
    147148   configure.args-append   --with-wide-unicode 
     149    set confdir config-${branch}mu 
    148150} 
    149151 
Note: See TracChangeset for help on using the changeset viewer.