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:
parent
689d9e37e6
commit
a3ac7b49ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333553
@ -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…
Reference in New Issue
Block a user