diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile index 20ca35e47d51..88031432c121 100644 --- a/graphics/exiv2/Makefile +++ b/graphics/exiv2/Makefile @@ -22,6 +22,12 @@ USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include + +.if ${ARCH} == powerpc64 +CFLAGS+= -mminimal-toc +.endif + post-patch: @${REINPLACE_CMD} -e 's,LDFLAGS -no-undefined -lpsapi",& ;; \ dragonfly* | freebsd*),' ${WRKSRC}/configure