aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-funionfs
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-04 04:02:38 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-04 04:02:38 +0000
commit6bb18aedcfb9a8636d2a26c52c47439a8c38b206 (patch)
tree4a66f18fa7535c387c87020900b4109146435a4c /sysutils/fusefs-funionfs
parent176af6b0efbb58f508846961909b57c96a3a2b5a (diff)
downloadports-6bb18aedcfb9a8636d2a26c52c47439a8c38b206.tar.gz
ports-6bb18aedcfb9a8636d2a26c52c47439a8c38b206.zip
- Unbreak the build with -fno-common (Clang 11, GCC 10)
- Convert to USES+=localbase, define LICENSE (GPLv2+) Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=547507
Diffstat (limited to 'sysutils/fusefs-funionfs')
-rw-r--r--sysutils/fusefs-funionfs/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/fusefs-funionfs/Makefile b/sysutils/fusefs-funionfs/Makefile
index 2c22f208f554..1d451bee7b6b 100644
--- a/sysutils/fusefs-funionfs/Makefile
+++ b/sysutils/fusefs-funionfs/Makefile
@@ -10,11 +10,15 @@ PKGNAMEPREFIX= fusefs-
MAINTAINER= ports@FreeBSD.org
COMMENT= Union filesystem for the FUSE driver
-LDFLAGS+= -L${LOCALBASE}/lib
-CFLAGS+= -I${LOCALBASE}/include
+LICENSE= GPLv2+
+
+USES= fuse localbase
GNU_CONFIGURE= yes
-USES= fuse
PLIST_FILES= bin/funionfs man/man1/${PORTNAME}.1.gz
+post-patch:
+ @${REINPLACE_CMD} -e 's,^struct unionfs_desc,extern &,' \
+ ${WRKSRC}/control.c
+
.include <bsd.port.mk>