source: trunk/dports/sysutils/rpm/files/patch-rpmrc.diff @ 5177

Last change on this file since 5177 was 2137, checked in by michaelm, 17 years ago

rpm port care of shantonu

  • Property svn:eol-style set to native
File size: 500 bytes
  • lib/rpmrc.c

    old new  
    960960            strcpy(un.machine, __power_pc() ? "ppc" : "rs6000");
    961961            sprintf(un.sysname,"aix%s.%s", un.version, un.release);
    962962        }
     963        else if(!strcmp(un.sysname, "Darwin")) {
     964#ifdef __ppc__
     965          strcpy(un.machine, "ppc");
     966#else ifdef __i386__
     967          strcpy(un.machine, "i386");
     968#endif
     969        }
    963970        else if (!strcmp(un.sysname, "SunOS")) {
    964971            if (!strncmp(un.release,"4", 1)) /* SunOS 4.x */ {
    965972                int fd;
Note: See TracBrowser for help on using the repository browser.