sthen 6d15ca9821 Set "BROKEN-arm" for some of the slower-to-build ports that fail late on
armv7, this should save around 40h overall build time, and makes it more
visible to anyone working on the port that they are indeed broken on the
arch.  OK phessler@ naddy@

Of note because the port is important to the architecture and
self-hosted builds are a good thing: building u-boot on armv7 fails
with an Internal Compiler Error (SIGBUS) in lib/time.c, it would be
particularly nice if someone has an idea how to fix this!
2020-05-07 14:24:53 +00:00

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2020/05/07 14:24:53 sthen Exp $
BROKEN-arm= build stuck in main.cpp
COMMENT= library and tools to modify and parse PDF documents
DISTNAME= podofo-0.9.5
REVISION= 3
SHARED_LIBS += podofo 2.0 # 0.9
CATEGORIES= textproc
HOMEPAGE= http://podofo.sourceforge.net/
# GPLv2+ (tools) LGPLv2+ (lib)
PERMIT_PACKAGE= Yes
WANTLIB += c crypto fontconfig freetype idn jpeg m png pthread tiff z
WANTLIB += ${COMPILER_LIBCXX}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/}
MODULES= devel/cmake
COMPILER = base-clang ports-gcc
LIB_DEPENDS= devel/libidn \
graphics/jpeg \
graphics/png \
graphics/tiff
CONFIGURE_ARGS+= -DCMAKE_INCLUDE_PATH=${X11BASE}/include \
-DCMAKE_LIBRARY_PATH=${X11BASE}/lib \
-DFREETYPE_INCLUDE_DIR=${X11BASE}/include/freetype2 \
-DPODOFO_BUILD_SHARED=True \
-DPODOFO_BUILD_STATIC=True
post-extract:
rm ${WRKSRC}/cmake/modules/FindZLIB.cmake
BUILD_DEPENDS= devel/cppunit
do-test:
${WRKBUILD}/test/unit/podofo-test
.include <bsd.port.mk>