Changeset 83018 for trunk/dports/tex


Ignore:
Timestamp:
Aug 23, 2011, 8:40:57 PM (8 years ago)
Author:
dports@…
Message:

texlive-bin: fix and re-enable clang build (#30869)

  • use -isystem instead of C_INCLUDE_PATH/CPLUS_INCLUDE_PATH
  • patch ps2pkm to fix a clang compile error
Location:
trunk/dports/tex/texlive-bin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/texlive-bin/Portfile

    r82984 r83018  
    5858                patch-libs_icu_icu-4.6_tools_icuinfo_Makefile.in.diff \
    5959                patch-texk_kpathsea_Makefile.in.diff \
     60                patch-texk_ps2pkm_type1.c.diff \
    6061                patch-texk_ptexenc_Makefile.in.diff \
    6162                patch-texk_tetex_Makefile.in.diff \
     
    106107    # files that freetype can handle.
    107108    reinplace "s|kpse_cv_have_ApplicationServices=yes|kpse_cv_have_ApplicationServices=no|" ${worksrcpath}/texk/xdvipdfmx/configure
    108 }
    109 
    110 # clang build currently fails (#30869)
    111 if {${configure.compiler} == "clang"} {
    112     configure.compiler llvm-gcc-4.2
    113109}
    114110
     
    168164configure.cppflags-delete   -I${prefix}/include
    169165configure.ldflags-delete    -L${prefix}/lib
    170 configure.env-append        C_INCLUDE_PATH=${prefix}/include
    171 configure.env-append        CPLUS_INCLUDE_PATH=${prefix}/include
     166configure.cppflags-append   -isystem${prefix}/include
    172167configure.env-append        LIBRARY_PATH=${prefix}/lib
    173168
Note: See TracChangeset for help on using the changeset viewer.