Date: Tue, 30 Apr 2019 19:13:59 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500556 - head/graphics/delaboratory Message-ID: <201904301913.x3UJDxj7037244@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Apr 30 19:13:59 2019 New Revision: 500556 URL: https://svnweb.freebsd.org/changeset/ports/500556 Log: graphics/delaboratory: fix build with GCC-based architectures Respect LDFLAGS to fix build on GCC architectures: //usr/local/lib/libwebkitgtk-1.0.so.0: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' //usr/local/lib/libwebkitgtk-1.0.so.0: undefined reference to `std::condition_variable::notify_one()@GLIBCXX_3.4.11' //usr/local/lib/libwebkitgtk-1.0.so.0: undefined reference to `std::__once_call@GLIBCXX_3.4.11' While here, add USES=gnome. PR: 237145 Approved by: portmaster@bsdforge.com (maintainer timeout), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20105 Modified: head/graphics/delaboratory/Makefile Modified: head/graphics/delaboratory/Makefile ============================================================================== --- head/graphics/delaboratory/Makefile Tue Apr 30 19:10:40 2019 (r500555) +++ head/graphics/delaboratory/Makefile Tue Apr 30 19:13:59 2019 (r500556) @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff -USES= compiler:c++11-lib gmake +USES= compiler:c++11-lib gmake gnome MAKE_ARGS= CXX="${CXX}" WXCONFIG="${WX_CONFIG}" USE_WX= 3.0 USE_CXXSTD= c++11 @@ -25,7 +25,8 @@ PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's|-Ofast.*}|${CXXFLAGS}| ; \ - s|CXXFLAGS_WX +=|& ${CXXFLAGS} -I${LOCALBASE}/include|' \ + s|CXXFLAGS_WX +=|& ${CXXFLAGS} -I${LOCALBASE}/include| ;\ + s|LDFLAGS=|LDFLAGS+=|' \ ${WRKSRC}/${MAKEFILE} do-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904301913.x3UJDxj7037244>