1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/npadmin/Makefile
Tobias Kortkamp 6db9d2a6a7 sysutils/npadmin: Fix build with Clang 6
npadmin.C:109:41: error: constant expression evaluates to 2147483648 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
    {"covers",      no_argument,&retval,COVER_FLAG},
                                        ^~~~~~~~~~

http://beefy11.nyi.freebsd.org/data/head-i386-default/p478648_s338416/logs/errors/npadmin-0.8.7_1.log
2018-09-04 13:34:03 +00:00

25 lines
515 B
Makefile

# Created by: Dom Mitchell <dom@happygiraffe.net>
# $FreeBSD$
PORTNAME= npadmin
PORTVERSION= 0.8.7
PORTREVISION= 1
CATEGORIES= sysutils print
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= SNMP based command line network printer management tool
USES= compiler
GNU_CONFIGURE= yes
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
PLIST_FILES= bin/npadmin man/man1/${PORTNAME}.1.gz
pre-configure:
${RM} ${WRKSRC}/getopt.h ${WRKSRC}/getopt1.c
.include <bsd.port.mk>