aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libgta/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libgta/Makefile b/devel/libgta/Makefile
index a46e01eb59ea..0278dcfe975a 100644
--- a/devel/libgta/Makefile
+++ b/devel/libgta/Makefile
@@ -31,4 +31,10 @@ post-patch:
regression-test test: build
cd ${WRKSR}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
+LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
+.endif
+
+.include <bsd.port.post.mk>