Index: head/graphics/ipe/Makefile =================================================================== --- head/graphics/ipe/Makefile (revision 503973) +++ head/graphics/ipe/Makefile (revision 503974) @@ -1,60 +1,61 @@ # Created by: David Bremner # $FreeBSD$ PORTNAME= ipe PORTVERSION= 7.2.12 +PORTREVISION= 1 DISTVERSIONSUFFIX= -src CATEGORIES= graphics MASTER_SITES= https://dl.bintray.com/otfried/generic/ipe/${PORTVERSION:R}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Extensible vector graphics editor with LaTeX support LICENSE= GPLv3+ RUN_DEPENDS= xdg-open:devel/xdg-utils LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= compiler:c++11-lib gmake gnome jpeg lua:52 pkgconfig qt:5 USE_GNOME= cairo USE_QT= buildtools_build core gui qmake_build widgets USE_TEX= pdftex WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src MAKE_ENV= DL_LIBS="" \ INSTALL_DIR="${MKDIR}" \ INSTALL_FILES="${INSTALL_DATA}" \ INSTALL_SCRIPTS="${INSTALL_SCRIPT}" \ INSTALL_PROGRAMS="${INSTALL_PROGRAM}" \ INSTALL_ROOT="${STAGEDIR}" \ IPEDOCDIR="${DOCSDIR}" \ IPEMANDIR="${MANPREFIX}/man/man1" \ IPEPREFIX="${PREFIX}" \ JPEG_CFLAGS="-I${LOCALBASE}/include" \ JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \ LUA_PACKAGE="lua-${LUA_VER}" \ MOC="${MOC}" USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" PORTDOCS= * DESKTOP_ENTRIES="Ipe" "" "ipe" "ipe" "" "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^INSTALL_|#INSTALL_| ; \ /-O2/s|^|#|' ${WRKSRC}/common.mak @${REINPLACE_CMD} -e \ 's|\([[:blank:]]\)=|\1?=|' ${WRKSRC}/config.mak post-install: @${LN} -sf ${DATADIR}/${PORTVERSION}/ipe.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .include Index: head/graphics/ipe/files/patch-ipelib_ipeplatform.cpp =================================================================== --- head/graphics/ipe/files/patch-ipelib_ipeplatform.cpp (revision 503973) +++ head/graphics/ipe/files/patch-ipelib_ipeplatform.cpp (revision 503974) @@ -1,14 +1,15 @@ ---- ipelib/ipeplatform.cpp.orig 2019-03-09 12:21:05 UTC +--- ipelib/ipeplatform.cpp.orig 2019-05-02 09:29:29 UTC +++ ipelib/ipeplatform.cpp -@@ -48,7 +48,10 @@ +@@ -48,7 +48,11 @@ #include #include #endif - +#if defined(__FreeBSD__) || defined(__DragonFly__) ++#include +#include +#include +#endif #include #include #include