svn commit: r547507 - head/sysutils/fusefs-funionfs

Alexey Dokuchaev danfe at FreeBSD.org
Fri Sep 4 04:02:39 UTC 2020


Author: danfe
Date: Fri Sep  4 04:02:38 2020
New Revision: 547507
URL: https://svnweb.freebsd.org/changeset/ports/547507

Log:
  - Unbreak the build with -fno-common (Clang 11, GCC 10)
  - Convert to USES+=localbase, define LICENSE (GPLv2+)
  
  Reported by:	pkg-fallout

Modified:
  head/sysutils/fusefs-funionfs/Makefile

Modified: head/sysutils/fusefs-funionfs/Makefile
==============================================================================
--- head/sysutils/fusefs-funionfs/Makefile	Fri Sep  4 02:42:28 2020	(r547506)
+++ head/sysutils/fusefs-funionfs/Makefile	Fri Sep  4 04:02:38 2020	(r547507)
@@ -10,11 +10,15 @@ PKGNAMEPREFIX=	fusefs-
 MAINTAINER=	ports at 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>


More information about the svn-ports-all mailing list