- Fix build with GCC-based architectures

- Add USES=localbase:ldflags
- Re-generate patch files
- Pacify portlint

PR:		234187
Submitted by:	pkubaj@anongoth.pl
This commit is contained in:
Emanuel Haupt 2018-12-20 08:21:40 +00:00
parent 0bef16ef34
commit 41a8807e6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487855
2 changed files with 6 additions and 8 deletions

View file

@ -13,18 +13,16 @@ COMMENT= Utilities for manipulating with HDR images in OpenEXR format
LICENSE= GPLv2
BROKEN_armv6= fails to configure: checking for /nxb-bin/usr/bin/cc... no
BROKEN_armv7= fails to configure: checking for /nxb-bin/usr/bin/cc... no
LIB_DEPENDS= libImath.so:graphics/ilmbase \
libpng.so:graphics/png \
libIlmImf.so:graphics/openexr
BROKEN_armv6= fails to configure: checking for /nxb-bin/usr/bin/cc... no
BROKEN_armv7= fails to configure: checking for /nxb-bin/usr/bin/cc... no
USES= compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig
GNU_CONFIGURE= yes
USES= gmake jpeg pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \

View file

@ -1,5 +1,5 @@
--- src/pngoutput.c.orig 2003-12-08 18:33:27.000000000 +0100
+++ src/pngoutput.c 2012-04-25 06:41:11.000000000 +0200
--- src/pngoutput.c.orig 2003-12-08 17:33:27 UTC
+++ src/pngoutput.c
@@ -27,6 +27,7 @@
#include <errno.h>
#include <string.h>