Changeset 126424 for trunk/dports/print


Ignore:
Timestamp:
Oct 9, 2014, 11:35:26 PM (5 years ago)
Author:
ryandesign@…
Message:

ttf2pt1: use the right compiler, use the right -arch flags, add universal variant, remove unused zlib dependency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/ttf2pt1/Portfile

    r126423 r126424  
    3434                    sha1    936771b11a740c16a8e0adb737b54b22cca18cb2
    3535
     36depends_lib         port:freetype
     37
    3638patchfiles          patch-ft.c
    3739
    3840use_configure       no
    3941
    40 depends_lib         port:freetype \
    41                     lib:libz:zlib
     42variant universal {}
    4243
    43 build.post_args     CFLAGS_SYS="-I${prefix}/include \
     44build.post_args     CC="${configure.cc}" \
     45                    CFLAGS_SYS="-I${prefix}/include \
    4446                    -I${prefix}/include/freetype2 \
    4547                    -DUSE_FREETYPE \
    46                     -DPREFER_FREETYPE" \
     48                    -DPREFER_FREETYPE \
     49                    [get_canonical_archflags cc]" \
    4750                    LIBS_SYS="-L${prefix}/lib \
    48                     -lm -lfreetype"
     51                    -lm -lfreetype \
     52                    [get_canonical_archflags ld]"
    4953
    5054destroot.post_args  INSTDIR=${destroot}${prefix} \
Note: See TracChangeset for help on using the changeset viewer.