mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
f2573c3d52
ndisc6 1.0.4 now requires a C11-capable compiler and no longer needs the 'variable length array in structure' GCC extension. As such we can build it with Clang now. This also removes the GCC run dependency which was the initial request in the PR [1]. Changes: http://git.remlab.net/gitweb/?p=ndisc6.git;a=blob_plain;f=NEWS;hb=81bdcb51b576a394ba01f5a8022e5b9354e431a6 PR: 233187 Reported by: hashiz@meridiani.jp [1] Submitted by: tobik Approved by: m.tsatsenko@gmail.com (maintainer) MFH: 2019Q1 (bug fixes and fewer run dependencies)
43 lines
887 B
Makefile
43 lines
887 B
Makefile
# Created by: rdenis@simphalempin.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ndisc6
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.remlab.net/files/ndisc6/ \
|
|
http://people.via.ecp.fr/~rem/www.remlab.net/files/ndisc6/
|
|
|
|
MAINTAINER= m.tsatsenko@gmail.com
|
|
COMMENT= IPv6 network diagnostic tools
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= compiler:c11 perl5 tar:bzip2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-suid-install --localstatedir="${PREFIX}/var"
|
|
CONFIGURE_ENV= PERL=${LOCALBASE}/bin/perl
|
|
MAKE_ENV= CHOWNPROG=:
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
NLS_LDFLAGS= -lintl
|
|
|
|
USE_RC_SUBR= rdnssd
|
|
|
|
PORTDOCS= AUTHORS NEWS README
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|