aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/difftastic/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/textproc/difftastic/Makefile b/textproc/difftastic/Makefile
index 4918e598d959..d53b8fcc120b 100644
--- a/textproc/difftastic/Makefile
+++ b/textproc/difftastic/Makefile
@@ -109,6 +109,13 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT}
+LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic
+.endif
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/difft