Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 09:25:43 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333553 - in head/graphics: OpenEXR ilmbase
Message-ID:  <201311120925.rAC9Phxp066779@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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-@OPENEXR_VERSION@/examples|$$(prefix)/share/examples/${PORTNAME}|' \
 		${WRKSRC}/IlmImfExamples/Makefile.in
 	@${REINPLACE_CMD} -e 's|$$(datadir)/doc/OpenEXR-@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311120925.rAC9Phxp066779>