Files
ports/net/libnfs/Makefile
T
Alan Somers 12677ba70e net/libnfs: fix build error regarding "redefinition of typedef"
libnfs was redefining u_int, causing programs using libnfs to get
"error: redefinition of typedef 'u_int' is a C11 feature" errors.

Upstream PR: https://github.com/sahlberg/libnfs/pull/326

PR:		248296
Approved by:	Shannon Noe <snoe925@gmail.com> (maintainer)
2020-08-10 20:48:57 +00:00

33 lines
660 B
Makefile

# Created by: Manuel Creach <manuel.creach@icloud.com>
# $FreeBSD$
PORTNAME= libnfs
PORTVERSION= 4.0.0
PORTREVISION= 1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= net
MAINTAINER= snoe925@gmail.com
COMMENT= Client library for accessing NFS shares over a network
LICENSE= LGPL21 GPLv3
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
PLIST_SUB= SHLIB=${SHLIB}
SHLIB= 13
GNU_CONFIGURE= yes
USES= autoreconf gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= sahlberg
CONFIGURE_ARGS= --disable-werror
post-patch:
${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>