Ignore:
Timestamp:
Jun 21, 2007, 1:44:56 PM (12 years ago)
Author:
jmpp@…
Message:

Eval glob delete the popt files in the destroot, port now installs and activates properly, woot!
Also, while at it, use "macports" as the vendor name.

PS: To destroot this port you need to have eridius' r26397 installed, as otherwise the delete command segfaults.
Said fix will be in MacPorts 1.5, of course.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/rpm/Portfile

    r26315 r26405  
    5959                # Delete overlapping files.
    6060                delete ${destroot}${prefix}/include/popt.h
    61 #               delete ${destroot}${prefix}/share/man/man3/popt.3*
    62 #               delete ${destroot}${prefix}/lib/libpopt.*
     61                eval delete [glob ${destroot}${prefix}/share/man/man3/popt.3*]
     62                eval delete [glob ${destroot}${prefix}/lib/libpopt.*]
    6363
    64                 # MacOSX specific changes
    65                 reinplace "s;%{_usrsrc}/redhat;%{_usrsrc}/apple;" ${destroot}${prefix}/lib/rpm/macros
     64                # MacPorts specific changes
     65                reinplace "s;%{_usrsrc}/redhat;%{_usrsrc}/macports;" ${destroot}${prefix}/lib/rpm/macros
    6666
    6767                # where the RPM database lives
    6868                destroot.keepdirs ${destroot}${prefix}/var/lib/rpm\
    69                                   ${destroot}${prefix}/src/apple/BUILD\
    70                                   ${destroot}${prefix}/src/apple/RPMS\
    71                                   ${destroot}${prefix}/src/apple/SOURCES\
    72                                   ${destroot}${prefix}/src/apple/SPECS\
    73                                   ${destroot}${prefix}/src/apple/SRPMS
     69                                  ${destroot}${prefix}/src/macports/BUILD\
     70                                  ${destroot}${prefix}/src/macports/RPMS\
     71                                  ${destroot}${prefix}/src/macports/SOURCES\
     72                                  ${destroot}${prefix}/src/macports/SPECS\
     73                                  ${destroot}${prefix}/src/macports/SRPMS
    7474        }
    7575}
Note: See TracChangeset for help on using the changeset viewer.