Ticket #12070: gdbm-universal.patch

File gdbm-universal.patch, 581 bytes (added by meissnem@…, 17 years ago)
  • (a) gdbm-orig vs. (b) gdbm-Portfile

    a b  
    2121checksums       md5 1d1b1d5c0245b1c00aff92da751e9aa1
    2222patchfiles      patch-Makefile.in
    2323configure.args  --mandir=\\\${prefix}/share/man --infodir=\\\${prefix}/share/info
     24
     25post-configure {
     26        if {[variant_isset universal]} {
     27                reinplace "s|-dynamiclib)|-dynamiclib) ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
     28        }
     29}
     30
    2431pre-destroot    {
    2532        reinplace "s|-o \$(BINOWN) -g \$(BINGRP)||g" ${worksrcpath}/Makefile
    2633}
    2734destroot.args   prefix=${destroot}/${prefix}
    2835