Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 21:40:12 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393617 - head/graphics/cairo
Message-ID:  <201508052140.t75LeCWs050544@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Aug  5 21:40:11 2015
New Revision: 393617
URL: https://svnweb.freebsd.org/changeset/ports/393617

Log:
  Fix endianness detection on head with strings(1) from ELF toolchain.
  
  Approved by:	gnome (maintainer, timeout > 6 months)
  MFH:		2015Q3

Modified:
  head/graphics/cairo/Makefile

Modified: head/graphics/cairo/Makefile
==============================================================================
--- head/graphics/cairo/Makefile	Wed Aug  5 21:24:47 2015	(r393616)
+++ head/graphics/cairo/Makefile	Wed Aug  5 21:40:11 2015	(r393617)
@@ -66,8 +66,9 @@ BROKEN=	OpenGL option needs X11 support
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/test/s/==/=/g' \
-		-e '/LIBS/s/-lrt//'  -e '/LIBS/s|-ldld||' \
+	@${REINPLACE_CMD} -e '/strings/s/ - / -a /' \
+		-e '/test/s/==/=/g' \
+		-e '/LIBS/s/-lrt//' -e '/LIBS/s|-ldld||' \
 		-e '/LIBS/s|-ldl||' \
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|-lcairo|-lcairo -lpthread|' \



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