Changeset 90750


Ignore:
Timestamp:
Mar 14, 2012, 5:29:35 AM (8 years ago)
Author:
ryandesign@…
Message:

sketch: add -arch flags; add a universal variant; use a patchfile to insert a placeholder instead of reinplacing directly

Location:
trunk/dports/tex/sketch
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/sketch/Portfile

    r90209 r90750  
    2626extract.suffix      .tgz
    2727
    28 patch {
    29     reinplace "s|CC\ \=\ gcc\ -O1\ -g\ -Wall|CC \= ${configure.cc} ${configure.cflags}|g" ${worksrcpath}/makefile
     28variant universal {}
     29
     30patchfiles          patch-makefile.diff
     31
     32post-patch {
     33    reinplace "s|@CC@|${configure.cc} ${configure.cflags} [get_canonical_archflags cc]|g" ${worksrcpath}/makefile
    3034}
    3135
Note: See TracChangeset for help on using the changeset viewer.