Files
ports/net/bsdrcmds/Makefile
T
Cy Schubert 1184a12e5f Fix 13-STABLE and 14-CURRENT for real.
r564711 attempted to provide both the definitions to use the old
NO_WERROR and the new MK_WERROR. However foot-shooting protection
prevents such innovative approaches. Therefore additional logic
is required.

PR:		253000
Submitted by:	cy
Reported by:	cy
Approved by:	jlh (maintainer, by private email)
MFH:		2021Q1
2021-02-10 15:39:56 +00:00

40 lines
782 B
Makefile

# Created by: Jeremie Le Hen <jlh@FreeBSD.org>
# $FreeBSD$
PORTNAME= bsdrcmds
PORTVERSION= 20171003.01
CATEGORIES= net
USE_GITHUB= yes
GH_ACCOUNT= jlehen
MAINTAINER= jlh@FreeBSD.org
COMMENT= FreeBSD rcmds (rcp/rlogin/rlogind/rsh/rshd)
LICENSE= BSD3CLAUSE
USES= uidfix
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300134
MAKE_ENV+= MK_WERROR=no
.else
MAKE_ENV+= NO_WERROR=1
.endif
OPTIONS_DEFINE= IPV6 LIBBLACKLIST
OPTIONS_DEFAULT= LIBBLACKLIST
.if !exists(/usr/include/blacklist.h)
OPTIONS_EXCLUDE= LIBBLACKLIST
.endif
IPV6_MAKE_ARGS= USE_IPV6=yes
LIBBLACKLIST_DESC= libblacklist(3) support for rlogind(8) and rshd(8)
LIBBLACKLIST_MAKE_ARGS= USE_LIBBLACKLIST=yes
.include <bsd.port.mk>