Ticket #24380: Portfile.diff

File Portfile.diff, 804 bytes (added by tenomoto (Takeshi Enomoto), 15 years ago)
  • Portfile

     
    5252            reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" ${f}
    5353        }
    5454    }
     55#    reinplace "s|dynamiclib|dynamiclib ${configure.cc_archflags}|" ${worksrcpath}/configure
    5556}
    5657
    5758use_autoreconf yes
     
    6061# Make included JasPer uses its own headers rather than the system ones
    6162configure.cppflags-delete       "-I${prefix}/include"
    6263configure.cppflags-append       "-isystem${prefix}/include"
     64configure.ldflags-append        ${configure.cc_archflags}
    6365
    6466# gs8.71: The default optimization flag (-O2) causes pdfwrite's strange 'Memory fault' problem.
    6567#         See also: http://bugs.ghostscript.com/show_bug.cgi?id=691005