Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 19:47:44 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355739 - head/graphics/exiv2
Message-ID:  <201405291947.s4TJliDZ081183@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu May 29 19:47:43 2014
New Revision: 355739
URL: http://svnweb.freebsd.org/changeset/ports/355739
QAT: https://qat.redports.org/buildarchive/r355739/

Log:
  Fix compile on powerpc64.
  
  PR:		ports/188278
  Submitted by:	nwhitehorn@

Modified:
  head/graphics/exiv2/Makefile

Modified: head/graphics/exiv2/Makefile
==============================================================================
--- head/graphics/exiv2/Makefile	Thu May 29 19:47:41 2014	(r355738)
+++ head/graphics/exiv2/Makefile	Thu May 29 19:47:43 2014	(r355739)
@@ -22,6 +22,12 @@ USE_LDCONFIG=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+CFLAGS+=	-mminimal-toc
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,LDFLAGS -no-undefined -lpsapi",& ;; \
 		dragonfly* | freebsd*),' ${WRKSRC}/configure



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