Ticket #11901: Portfile.patch

File Portfile.patch, 627 bytes (added by takanori@…, 17 years ago)
  • Portfile

    old new  
    2626        ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
    2727        ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
    2828
     29configure {
     30        # MacPorts 1.4.1 or higher adds -I${prefix}/include and -L${prefix}/lib flags to the configure by default.
     31        # This change may break building ghostscript. Here is a workaround to avoid this issue.
     32        system "cd $worksrcpath && ./configure --prefix=${prefix}"
     33}
     34
    2935build.target
    3036
    3137destroot.destdir    prefix=${destroot}/${prefix}