svn commit: r501138 - head/graphics/gimp-wavelet-sharpen-plugin

Piotr Kubaj pkubaj at FreeBSD.org
Thu May 9 19:40:30 UTC 2019


Author: pkubaj
Date: Thu May  9 19:40:29 2019
New Revision: 501138
URL: https://svnweb.freebsd.org/changeset/ports/501138

Log:
  graphics/gimp-wavelet-sharpen-plugin: fix build with GCC-based architectures
  
  Add USES=compiler:c++11-lang and respect LDFLAGS to fix build.
  
  Approved by:	mat (mentor)

Modified:
  head/graphics/gimp-wavelet-sharpen-plugin/Makefile

Modified: head/graphics/gimp-wavelet-sharpen-plugin/Makefile
==============================================================================
--- head/graphics/gimp-wavelet-sharpen-plugin/Makefile	Thu May  9 19:12:37 2019	(r501137)
+++ head/graphics/gimp-wavelet-sharpen-plugin/Makefile	Thu May  9 19:40:29 2019	(r501138)
@@ -18,7 +18,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app
 RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:graphics/gimp-app
 
-USES=		gettext gmake pkgconfig
+USES=		compiler:c++11-lang gettext gmake pkgconfig
 
 PLIST_SUB=	GIMP_PLUGIN_DIR=${GIMP_PLUGIN_DIR}
 GIMP_PLUGIN_DIR=	libexec/gimp/2.2/plug-ins
@@ -34,7 +34,7 @@ OPTIMIZED_CFLAGS_CFLAGS=	-O3
 post-patch:
 	@${REINPLACE_CMD} \
 		-e 's|gimptool-2.0|${LOCALBASE}/bin/gimptool-2.0|' \
-		-e '/^LIBS =/s/$$/ -lm/' \
+		-e '/^LIBS =/s/$$/ $$\(LDFLAGS\) -lm/' \
 		${WRKSRC}/src/Makefile
 
 post-patch-NLS-off:


More information about the svn-ports-all mailing list