1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/ndproxy/Makefile
Piotr Kubaj b1ec240079 net/ndproxy: add -Wno-error=strict-prototypes to CFLAGS when using GCC
This is needed to fix build:
ndproxy.c:51: function declaration isn't a prototype

PR:		237296
Approved by:	fbsd.bugzilla@fenyo.net (maintainer), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20013
2019-04-30 13:53:23 +00:00

36 lines
767 B
Makefile

# $FreeBSD$
PORTNAME= ndproxy
PORTVERSION= 3.2
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= fbsd.bugzilla@fenyo.net
COMMENT= Implementation of IPv6 Neighbor Discovery proxy
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler kmod
SUB_FILES= pkg-message
USE_RC_SUBR= ndproxy
USE_GITHUB= yes
GH_ACCOUNT= AlexandreFenyo
# build for a kernel with 'options VIMAGE'
CFLAGS+= -DVIMAGE ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
CFLAGS_gcc= -Wno-error=strict-prototypes
PLIST_FILES= ${KMODDIR}/${PORTNAME}.ko man/man4/${PORTNAME}.4.gz
pre-build:
(cd ${BUILD_WRKSRC}; ${MAKE} depend)
do-install:
${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${PREFIX}/man/man4/
.include <bsd.port.mk>