Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 04:02:38 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547507 - head/sysutils/fusefs-funionfs
Message-ID:  <202009040402.08442cPA067973@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009040402.08442cPA067973>