mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04: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:
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
|
@ -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@||' \
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue