forked from Lainports/freebsd-ports
Add -Wno-error:
:/wrkdirs/usr/ports/textproc/libcss/work/libcss-0.9.0/include/libcss/fpmath.h8:: 105error:: 8implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion]:
xx = INT_MAX;
31 lines
743 B
Makefile
31 lines
743 B
Makefile
# Created by: Olivier Duchateau
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libcss
|
|
PORTVERSION= 0.9.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= https://download.netsurf-browser.org/libs/releases/
|
|
EXTRACT_SUFX= -src.tar.gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Cascading Style Sheets library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= netsurf-buildsystem>=1.5:devel/netsurf-buildsystem
|
|
LIB_DEPENDS= libwapcaplet.so:textproc/libwapcaplet \
|
|
libparserutils.so:devel/libparserutils
|
|
|
|
USES= gmake iconv:wchar_t localbase pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= COMPONENT_TYPE="lib-shared"
|
|
CFLAGS+= -Wno-error
|
|
LDFLAGS+= ${ICONV_LIB}
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcss.so
|
|
|
|
.include <bsd.port.mk>
|