Date: Fri, 09 Aug 2019 20:15:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238780] converters/pdf2djvu: fix build with GCC-based architectures Message-ID: <bug-238780-7788-n0YW3GxOdu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238780-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-238780-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238780 --- Comment #11 from Samy Mahmoudi <samy.mahmoudi@gmail.com> --- (In reply to Piotr Kubaj from comment #10) Hi, This would have been simpler than using the ARCH variable. Unfortunately, w= ith compiler:c11 (and your initial patch) the linker fails again when XMP=3Don. Here is what I will probably write: ----------------------------------- ... .include <bsd.port.pre.mk> .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} =3D=3D sparc64 USES+=3D compiler:gcc-c++11-lib .else USES+=3D compiler:c++11-lang .endif ... .include <bsd.port.post.mk> ----------------------------------- Is your GCC-architecture included in the previous conditionals ? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238780-7788-n0YW3GxOdu>