1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

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
This commit is contained in:
John Marino 2013-11-12 09:25:42 +00:00
parent 689d9e37e6
commit a3ac7b49ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333553
2 changed files with 2 additions and 0 deletions

View File

@ -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@||' \

View File

@ -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}