Changeset 31811


Ignore:
Timestamp:
Dec 8, 2007, 12:00:13 PM (10 years ago)
Author:
simon@…
Message:

print/espgs: Fixed build failure, closes #13159. Also removed cd command and unnecessary variant.

File:
1 edited

Legend:

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

    r31810 r31811  
    4242# http://www.ghostscript.com/doc/AFPL/8.00/Make.htm#Third-party_libraries
    4343post-extract {
    44     cd ${workpath}
    45     system "mv ${png_src} ${worksrcdir}/libpng"
     44    system "cd ${workpath}; mv ${png_src} ${worksrcdir}/libpng"
    4645}
    4746
    4847configure.args      --without-gimp-print \
    4948                    --disable-cups \
    50                     --mandir='\${prefix}/share/man' \
     49                    --mandir=${prefix}/share/man \
    5150                    --with-fontpath="${prefix}/share/ghostscript/fonts:/usr/share/ghostscript/fonts"
     51
     52pre-build {
     53    # Ensure the macports include/ directory is added. Don't know why
     54    # configure doesn't do this already.
     55    set search {CFLAGS=-O2 $(GCFLAGS) $(XCFLAGS) $(ACDEFS)}
     56    reinplace "s|${search}|${search} -I${prefix}/include|g" \
     57        ${worksrcpath}/Makefile
     58}
    5259
    5360build.target
     
    6673    configure.args-append   --with-x
    6774}
    68 
    69 variant extra_fonts {
    70     set other_fonts    ghostscript-fonts-other-6.0
    71     distfiles-append   ${other_fonts}${extract.suffix}:fonts
    72     checksums-append   ${other_fonts}${extract.suffix} md5 1a643ae62ef166562e4d422b1a601272
    73 }
Note: See TracChangeset for help on using the changeset viewer.