95274bf4f9
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
34 lines
768 B
Makefile
34 lines
768 B
Makefile
PORTNAME= mtpfs
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= jhixson@FreeBSD.org
|
|
COMMENT= MTP device filesystem
|
|
WWW= https://www.adebenham.com/mtpfs/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libmtp.so:multimedia/libmtp \
|
|
libid3.so:audio/id3lib \
|
|
libid3tag.so:audio/libid3tag \
|
|
libmad.so:audio/libmad
|
|
|
|
USES= autoreconf fuse gnome pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= cjd
|
|
GH_TAGNAME= fd3864dd6f0e8183fa2598d4cf890401d3a1e09a
|
|
USE_GNOME= glib20
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/mtpfs
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|