diff --git a/dports/fuse/ext2fuse/Portfile b/dports/fuse/ext2fuse/Portfile
index d49eb80..b765c1f 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | |
5 | 5 | name ext2fuse |
6 | 6 | version 0.8.1 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | categories fuse |
9 | 9 | license GPL-2+ |
10 | 10 | platforms darwin |
… |
… |
if {${configure.compiler} == "clang"} { |
33 | 33 | configure.cflags-append "--std=gnu89" |
34 | 34 | } |
35 | 35 | |
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 |
| 36 | pre-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 | } |