Ticket #31286: p5-perlmagick.diff
File p5-perlmagick.diff, 643 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
32 32 if {${perl5.major} != ""} { 33 33 depends_lib-append port:ImageMagick 34 34 post-patch { 35 if {[variant_isset universal]} { 36 set archflags ${configure.universal_cflags} 37 } else { 38 set archflags ${configure.cc_archflags} 39 } 40 reinplace "s|@ARCHFLAGS@|${archflags}|g" ${worksrcpath}/Makefile.PL 35 reinplace "s|@ARCHFLAGS@|[get_canonical_archflags]|g" ${worksrcpath}/Makefile.PL 41 36 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile.PL 42 37 } 43 38 }