diff options
author | John Marino <marino@FreeBSD.org> | 2013-11-12 09:25:42 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-11-12 09:25:42 +0000 |
commit | a3ac7b49ee18dd96c5b1e6b9b29a2d541bc82b72 (patch) | |
tree | 71e5b2a9b3d6189f79ecd185af86b8be9722a217 | |
parent | Support FreeBSD 10.0. (diff) |
graphics => ilmbase & OpenEXR: Fix == bashism in configure script
The latest versions of ilmbase and OpenEXR come with "== xyes" and
"== xno" in the configure script, potentially causing misconfiguration
as seen in DragonFly 3.6. Fix both in the post-patch target with sed.
Approved by: portmgr (bapt), maintainer AFK
Notes
Notes:
svn path=/head/; revision=333553
-rw-r--r-- | graphics/OpenEXR/Makefile | 1 | ||||
-rw-r--r-- | graphics/ilmbase/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile index c804ae7f59f5..6a5cce159ed3 100644 --- a/graphics/OpenEXR/Makefile +++ b/graphics/OpenEXR/Makefile @@ -47,6 +47,7 @@ LARGE_STACK_CONFIGURE_ENABLE= large-stack PLIST_SUB= MAJORVER=2_0 post-patch: + @${REINPLACE_CMD} -e 's|== x|= x|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|$$(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples|$$(prefix)/share/examples/${PORTNAME}|' \ ${WRKSRC}/IlmImfExamples/Makefile.in @${REINPLACE_CMD} -e 's|$$(datadir)/doc/OpenEXR-@OPENEXR_VERSION@||' \ diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile index 5fcf9dcda57b..6175cf7606af 100644 --- a/graphics/ilmbase/Makefile +++ b/graphics/ilmbase/Makefile @@ -44,6 +44,7 @@ regression-test regression test check: build post-patch: @${REINPLACE_CMD} -e 's|Iex/libIex.la|Iex/libIex.la $(PTHREAD_LIBS)|' \ ${WRKSRC}/IlmThread/Makefile.am + @${REINPLACE_CMD} -e 's|== x|= x|g' ${WRKSRC}/configure post-install: .for e in ${BIN} |