freebsd-ports/vietnamese/x-unikey/Makefile
Tobias Kortkamp 46d328db5c vietnamese/x-unikey: Fix build with Clang 6
data.cpp💯15: error: constant expression evaluates to -72 which cannot be narrowed to type 'unsigned char' [-Wc++11-narrowing]
{{'A','a','<B8>','<B8>','<B5>','<B5>','<B6>','<B6>','<B7>','<B7>','<B9>','<B9>',      // 0: a
                 ^~~~~~

http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/vi-x-unikey-1.0.4.log

- While here prevent build from asking an interactive question
  during the install phase
2018-08-25 14:22:46 +00:00

21 lines
462 B
Makefile

# Created by: Alexander Yerenkow <yerenkow@gmail.com>
# $FreeBSD$
PORTNAME= x-unikey
PORTVERSION= 1.0.4
CATEGORIES= vietnamese textproc
MASTER_SITES= SF/unikey/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Vietnamese input method for X
USES= compiler tar:bzip2
USE_XORG= x11
GNU_CONFIGURE= yes
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
PLIST_FILES= bin/unikey bin/ukxim
.include <bsd.port.mk>