Changeset 42123


Ignore:
Timestamp:
Nov 15, 2008, 10:49:39 PM (11 years ago)
Author:
blb@…
Message:

sysutils/disktype - fix build which assumed to always build universal against
10.4 SDK breaking build on 10.5, ticket #17259

Location:
trunk/dports/sysutils/disktype
Files:
2 added
1 edited

Legend:

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

    r42122 r42123  
    55name                disktype
    66version             9
     7revision            1
    78categories          sysutils
    89platforms           darwin
     
    1718checksums           sha1 5ccc55d1c47f9a37becce7336c4aa3a7a43cc89c
    1819
     20patchfiles          patch-Makefile.diff
     21post-patch {
     22   if {[variant_isset universal]} {
     23      reinplace "s|@@UNIVERSAL_CPPFLAGS@@|${configure.universal_cppflags}|" \
     24         ${worksrcpath}/Makefile
     25      reinplace "s|@@UNIVERSAL_CFLAGS@@|${configure.universal_cflags}|" \
     26         ${worksrcpath}/Makefile
     27      reinplace "s|@@UNIVERSAL_LDFLAGS@@|${configure.universal_ldflags}|" \
     28         ${worksrcpath}/Makefile
     29   } else {
     30      reinplace "s|@@UNIVERSAL_CPPFLAGS@@||" ${worksrcpath}/Makefile
     31      reinplace "s|@@UNIVERSAL_CFLAGS@@||" ${worksrcpath}/Makefile
     32      reinplace "s|@@UNIVERSAL_LDFLAGS@@||" ${worksrcpath}/Makefile
     33   }
     34}
     35
    1936use_configure       no
    2037
     
    2542}
    2643
     44variant universal description {Build for multiple architectures} {
     45}
     46
Note: See TracChangeset for help on using the changeset viewer.