Ticket #36748: Portfile.2.diff

File Portfile.2.diff, 893 bytes (added by mklein-de (Michael Klein), 12 years ago)
  • dports/fuse/ext2fuse/Portfile

    diff --git a/dports/fuse/ext2fuse/Portfile b/dports/fuse/ext2fuse/Portfile
    index d49eb80..b765c1f 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
    if {${configure.compiler} == "clang"} { 
    3333   configure.cflags-append "--std=gnu89"
    3434}
    3535
    36 configure.cflags-append -D__FreeBSD__=10
    37 configure.cflags-append -I${prefix}/include/fuse
    38 configure.cflags-append -DENABLE_SWAPFS
    39 configure.cppflags -I${prefix}/include/fuse
     36pre-configure {
     37   configure.cflags-append -D__FreeBSD__=10 -DENABLE_SWAPFS
     38   configure.cflags-append [exec pkg-config --cflags-only-other fuse]
     39   configure.cppflags      [exec pkg-config --cflags-only-I fuse]
     40}