aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-11-12 17:25:42 +0800
committermarino <marino@FreeBSD.org>2013-11-12 17:25:42 +0800
commit1281fb915f9f983acb4baa0c42f32668c4b3de00 (patch)
tree71e5b2a9b3d6189f79ecd185af86b8be9722a217 /graphics
parent5073ff118127e646871c7df74fecdd5957c10bae (diff)
downloadfreebsd-ports-gnome-1281fb915f9f983acb4baa0c42f32668c4b3de00.tar.gz
freebsd-ports-gnome-1281fb915f9f983acb4baa0c42f32668c4b3de00.tar.zst
freebsd-ports-gnome-1281fb915f9f983acb4baa0c42f32668c4b3de00.zip
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/OpenEXR/Makefile1
-rw-r--r--graphics/ilmbase/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index c804ae7f59f5..6a5cce159ed3 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -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@||' \
diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile
index 5fcf9dcda57b..6175cf7606af 100644
--- a/graphics/ilmbase/Makefile
+++ b/graphics/ilmbase/Makefile
@@ -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}