Ticket #36748: Portfile.3.diff

File Portfile.3.diff, 997 bytes (added by mklein-de (Michael Klein), 11 years ago)

Updated Portfile

  • dports/fuse/ext2fuse/Portfile

    diff --git a/dports/fuse/ext2fuse/Portfile b/dports/fuse/ext2fuse/Portfile
    index 94d9408..7f3a17b 100644
    a b PortSystem 1.0 
    44
    55name                ext2fuse
    66version             0.8.1
    7 revision        1
     7revision            2
    88categories          fuse
    99license             GPL-2+
    1010platforms           darwin
    depends_lib path:lib/libfuse.dylib:fuse4x \ 
    2929# e2fsprogs does not build for i386
    3030universal_variant   no
    3131
    32 configure.cflags-append -std=gnu89
    33 configure.cflags-append -D__FreeBSD__=10
    34 configure.cflags-append -I${prefix}/include/fuse
    35 configure.cflags-append -DENABLE_SWAPFS
    36 configure.cppflags -I${prefix}/include/fuse
     32pre-configure {
     33   configure.cflags-append -std=gnu89
     34   configure.cflags-append -D__FreeBSD__=10 -DENABLE_SWAPFS
     35   configure.cflags-append [exec pkg-config --cflags-only-other fuse]
     36   configure.cppflags      [exec pkg-config --cflags-only-I fuse]
     37}