b363253376
View.cc:294:10: error: no viable conversion from returned value of type 'bool' to function return type 'SmartPtr<Element>' return false; ^~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/gtkmathview-0.8.0_9.log cmex10.cc:27:3: error: constant expression evaluates to 4205933842 which cannot be narrowed to type 'int' [-Wc++11-narrowing] 0xfab17512, ^~~~~~~~~~ SVG_RenderingContext.cc:67:25: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] metadata("Created by "PACKAGE" version "VERSION); ^
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtkmathview
|
|
PORTVERSION= 0.8.0
|
|
PORTREVISION= 9
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= http://helm.cs.unibo.it/mml-widget/sources/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GTK Widget to Render MathML Documents
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= xsltproc:textproc/libxslt
|
|
LIB_DEPENDS= libpopt.so:devel/popt \
|
|
libt1.so:devel/t1lib \
|
|
libgmetadom_gdome_cpp_smart.so:textproc/gmetadom
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= compiler gmake libtool pathfix pkgconfig
|
|
USE_GNOME= gtk20 libxml2 pangox-compat
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
|
CXXFLAGS_clang= -Wno-c++11-narrowing
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/-lstdc++/d' ${WRKSRC}/src/Makefile.in \
|
|
${WRKSRC}/src/view/Makefile.in ${WRKSRC}/viewer/Makefile.in
|
|
@${REINPLACE_CMD} '/^mathmlps_LDADD =/s|=|= ../src/libmathview.la|' \
|
|
${WRKSRC}/mathmlps/Makefile.in
|
|
@${REINPLACE_CMD} '/^mathmlsvg_LDADD =/s|=|= $$(XML_LIBS) ../src/libmathview.la|' \
|
|
${WRKSRC}/mathmlsvg/Makefile.in
|
|
@${REINPLACE_CMD} '/^test_rendering_LDADD =/s|=|= ../src/libmathview.la|' \
|
|
${WRKSRC}/viewer/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|