svn commit: r355739 - head/graphics/exiv2

Koop Mast kwm at FreeBSD.org
Thu May 29 19:47:44 UTC 2014


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


More information about the svn-ports-all mailing list