svn commit: r333553 - in head/graphics: OpenEXR ilmbase

John Marino marino at FreeBSD.org
Tue Nov 12 09:25:43 UTC 2013


Author: marino
Date: Tue Nov 12 09:25:42 2013
New Revision: 333553
URL: http://svnweb.freebsd.org/changeset/ports/333553

Log:
  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

Modified:
  head/graphics/OpenEXR/Makefile
  head/graphics/ilmbase/Makefile

Modified: head/graphics/OpenEXR/Makefile
==============================================================================
--- head/graphics/OpenEXR/Makefile	Tue Nov 12 09:19:19 2013	(r333552)
+++ head/graphics/OpenEXR/Makefile	Tue Nov 12 09:25:42 2013	(r333553)
@@ -47,6 +47,7 @@ LARGE_STACK_CONFIGURE_ENABLE=	large-stac
 PLIST_SUB=	MAJORVER=2_0
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|== x|= x|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|$$(datadir)/doc/OpenEXR- at OPENEXR_VERSION@/examples|$$(prefix)/share/examples/${PORTNAME}|' \
 		${WRKSRC}/IlmImfExamples/Makefile.in
 	@${REINPLACE_CMD} -e 's|$$(datadir)/doc/OpenEXR- at OPENEXR_VERSION@||' \

Modified: head/graphics/ilmbase/Makefile
==============================================================================
--- head/graphics/ilmbase/Makefile	Tue Nov 12 09:19:19 2013	(r333552)
+++ head/graphics/ilmbase/Makefile	Tue Nov 12 09:25:42 2013	(r333553)
@@ -44,6 +44,7 @@ regression-test regression test check:	b
 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}


More information about the svn-ports-all mailing list