mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
graphics/gimp-wavelet-denoise-plugin: fix build with GCC-based architectures
Add USES=compiler:c++11-lang and respect LDFLAGS to fix build.
This commit is contained in:
parent
ff117e7ead
commit
4b87ab1d28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501139
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user