ports/sysutils/fusefs-libs3/Makefile
Mark Linimon a00547aa72 Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
as a stand-in for "are we running on gcc".

In some cases we only need to specifically test for "are we on the ancient
base gcc", e.g, the usage of 'pragma'.

While here, in some cases turn off SSE functions more specifically based
on ARCH, and turn off -mtune=generic everywhere.  These are part of a
larger work in progress; these commits are for ports that would have
been touched by the the powerpc-on-clang test regardless.

Approved by:	portmgr (tier-2 blanket)
2019-07-25 02:33:12 +00:00

35 lines
702 B
Makefile

# Created by: Stefan Esser
# $FreeBSD$
PORTNAME= fusefs-libs3
DISTVERSIONPREFIX= fuse-
DISTVERSION= 3.6.2
CATEGORIES= sysutils
MAINTAINER= se@FreeBSD.org
COMMENT= FUSE library version 3 for filesystems implemented in userspace
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler meson
USE_LDCONFIG= yes
PLIST_SUB= VERSION=${PORTVERSION}
USE_GITHUB= yes
GH_ACCOUNT= libfuse
GH_PROJECT= libfuse
.include <bsd.port.pre.mk>
.if ${OPSYS} == DragonFly
IGNORE= fusefs has not been implemented on DragonFly
.endif
.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/meson.build
.endif
.include <bsd.port.post.mk>