Lines 14-34
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
14 |
|
14 |
|
15 |
USES= fuse:3 localbase:ldflags pkgconfig |
15 |
USES= fuse:3 localbase:ldflags pkgconfig |
16 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share |
17 |
|
|
|
18 |
CONFIGURE_ENV+= fuse3_LIBS="-L${LOCALBASE}/lib -lfuse3" |
19 |
CONFIGURE_ARGS= --with-fuse3 |
18 |
|
20 |
|
19 |
PLIST_FILES= bin/bindfs \ |
21 |
PLIST_FILES= bin/bindfs \ |
20 |
share/man/man1/bindfs.1.gz |
22 |
share/man/man1/bindfs.1.gz |
21 |
|
23 |
|
22 |
.include <bsd.port.pre.mk> |
24 |
post-patch: |
23 |
|
25 |
@${REINPLACE_CMD} -e 's|-pthread|-lthr|g' \ |
24 |
.if ${LIBFUSE_VER} == 3 |
26 |
${PATCH_WRKSRC}/configure |
25 |
FUSEPKG= fuse3 |
|
|
26 |
CONFIGURE_ENV+= FUSE_CFLAGS="-I${LOCALBASE}/include/fuse3" \ |
27 |
FUSE_LIBS="-L${LOCALBASE}/lib -lfuse3" |
28 |
LDFLAGS+= -lthr |
29 |
.endif |
30 |
|
31 |
FUSE_VERSION= "`pkgconf --modversion ${FUSEPKG} | \ |
32 |
${SED} -E 's,^([0-9]+)\.([0-9]+)\..*,\1\2,'`" |
33 |
|
27 |
|
34 |
.include <bsd.port.post.mk> |
28 |
.include <bsd.port.mk> |