svn commit: r500556 - head/graphics/delaboratory

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 30 19:14:00 UTC 2019


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 at GLIBCXX_3.4.11'
  
  While here, add USES=gnome.
  
  PR:		237145
  Approved by:	portmaster at 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:


More information about the svn-ports-all mailing list