freebsd-ports/graphics/vapoursynth-fmtconv/Makefile
Mark Linimon a2341f0001 Mark as BROKEN on powerpc64.
The complete error message:

  # In file included from ./../../src/conc/AtomicPtr.h:30,
  #                  from ./../../src/conc/CellPool.h:30,
  #                  from ./../../src/conc/ObjPool.h:44,
  #                  from ../../src/fmtc/Bitdepth.h:30,
  #                  from ../../src/main.cpp:18:
  #  ./../../src/conc/def.h:45:3: error: #error

Approved by:	portmgr (tier-2 blanket)
2020-05-18 00:37:06 +00:00

49 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= fmtconv
PORTVERSION= r22
CATEGORIES= graphics
PKGNAMEPREFIX= vapoursynth-
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 3b64292dd274.patch:-p1
PATCHFILES+= 5e0340d35e4d.patch:-p1
PATCHFILES+= c62063bc34c6.patch:-p1
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Format conversion tools for Vapoursynth
LICENSE= WTFPL
BROKEN_powerpc64= fails to compile on powerpc64: \#error
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VapourSynth.h:multimedia/vapoursynth
USE_GITHUB= yes
GH_ACCOUNT= EleonoreMizo
USES= autoreconf compiler:c++11-lib gmake libtool pkgconfig
EXCLUDE= VapourSynth.h *.txt
EXTRACT_AFTER_ARGS= ${EXCLUDE:S,^,--exclude ,}
WRKSRC_SUBDIR= build/unix
PATCH_WRKSRC= ${WRKSRC:H:H}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir="${DATADIR}"
CPPFLAGS+= `pkg-config vapoursynth --cflags`
INSTALL_TARGET= install-strip
DATADIR= ${PREFIX}/lib/vapoursynth
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
PORTDATA= lib${PORTNAME}.so
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \
${WRKSRC}/configure.ac
post-install:
(cd ${PATCH_WRKSRC}/doc && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>