svn commit: r501139 - head/graphics/gimp-wavelet-denoise-plugin
Piotr Kubaj
pkubaj at FreeBSD.org
Thu May 9 19:41:38 UTC 2019
Author: pkubaj
Date: Thu May 9 19:41:37 2019
New Revision: 501139
URL: https://svnweb.freebsd.org/changeset/ports/501139
Log:
graphics/gimp-wavelet-denoise-plugin: fix build with GCC-based architectures
Add USES=compiler:c++11-lang and respect LDFLAGS to fix build.
Modified:
head/graphics/gimp-wavelet-denoise-plugin/Makefile
Modified: head/graphics/gimp-wavelet-denoise-plugin/Makefile
==============================================================================
--- head/graphics/gimp-wavelet-denoise-plugin/Makefile Thu May 9 19:40:29 2019 (r501138)
+++ head/graphics/gimp-wavelet-denoise-plugin/Makefile Thu May 9 19:41:37 2019 (r501139)
@@ -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
@@ -35,7 +35,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