Index: head/cad/libredwg/Makefile =================================================================== --- head/cad/libredwg/Makefile (revision 506393) +++ head/cad/libredwg/Makefile (revision 506394) @@ -1,35 +1,44 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= libredwg -PORTVERSION= 0.7 +PORTVERSION= 0.8 CATEGORIES= cad devel MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= Library and command line tools to handle DWG files LICENSE= GPLv3+ USES= libtool tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes +TEST_TARGET= check INFO= LibreDWG PORTDOCS= AUTHORS ChangeLog NEWS README TODO -OPTIONS_DEFINE= DOCS PSLIB +OPTIONS_DEFINE= DOCS PSLIB PYTHON OPTIONS_DEFAULT= PSLIB PSLIB_DESC= PostScript export support (dwg2ps) PSLIB_LIB_DEPENDS= libps.so:print/pslib # XXX: shall `localbase' be put on global USES, it would require explicit # PSLIB_CONFIGURE_ENV_OFF= ac_cv_lib_ps_PS_open_file=no PSLIB_USES= localbase PSLIB_PLIST_FILES= bin/dwg2ps + +PYTHON_CONFIGURE_OFF= --disable-python + +post-patch: +# XXX: switch the order of #include's to unbreak on powerpc/sparc64 +# which are still based on gcc-4.2.1 (should be no-op elsewhere) + @${REINPLACE_CMD} -e '/bits\.h/ { x; s/^/#include "suffix.inc"/; \ + G; } ; 32d' ${WRKSRC}/programs/dwgwrite.c post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/cad/libredwg/distinfo =================================================================== --- head/cad/libredwg/distinfo (revision 506393) +++ head/cad/libredwg/distinfo (revision 506394) @@ -1,3 +1,3 @@ -TIMESTAMP = 1544052766 -SHA256 (libredwg-0.7.tar.xz) = cbef6b9d48877ca26a54115b9ef9a7fd02d0279a94e79d2247f80277820b888d -SIZE (libredwg-0.7.tar.xz) = 3830064 +TIMESTAMP = 1561454497 +SHA256 (libredwg-0.8.tar.xz) = 0487c84e962a4dbcfcf3cbe961294b74c1bebd89a128b4929a1353bc7f58af26 +SIZE (libredwg-0.8.tar.xz) = 4295148