aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-02-17 14:32:54 +0800
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-02-17 14:32:54 +0800
commit99702266ac47a3dc47e4463b1bcc63cbb870f01c (patch)
tree4446299c79206f378a13415b538674eb34e20ef9
parent955feadb940e617635afbe6b511e8b573f92a078 (diff)
downloadfreebsd-ports-gnome-99702266ac47a3dc47e4463b1bcc63cbb870f01c.tar.gz
freebsd-ports-gnome-99702266ac47a3dc47e4463b1bcc63cbb870f01c.tar.zst
freebsd-ports-gnome-99702266ac47a3dc47e4463b1bcc63cbb870f01c.zip
- Unbreak the build against modern, more strict compilers
- Install stripped binary as suggested by the stage QA
-rw-r--r--graphics/iccxml/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/iccxml/Makefile b/graphics/iccxml/Makefile
index 6dbbf545c86e..cbdb45eb3d40 100644
--- a/graphics/iccxml/Makefile
+++ b/graphics/iccxml/Makefile
@@ -9,14 +9,16 @@ DISTNAME= IccXML-${PORTVERSION}
MAINTAINER= bsam@FreeBSD.org
COMMENT= Tools for reading and writing the ICC profile contents as XML files
-BROKEN_FreeBSD_13= IccProfileXml.cpp:512:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
-BROKEN_FreeBSD_14= IccProfileXml.cpp:512:12: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
-
LIB_DEPENDS= libSampleICC.so:graphics/sampleicc
USES= gmake gnome libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= libxml2
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,return NULL,return false,' \
+ ${WRKSRC}/IccLibXML/IccProfileXml.cpp
.include <bsd.port.mk>