aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgta
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-07-23 18:24:58 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-07-23 18:24:58 +0800
commit99c5267c9cdc41be034a32499cae4a506d77fcf2 (patch)
tree762e23364d486abd075b484fb8bf535633bd2c73 /devel/libgta
parentd03d861f1ccc0a08ce26672355d5b46a44339f26 (diff)
downloadfreebsd-ports-gnome-99c5267c9cdc41be034a32499cae4a506d77fcf2.tar.gz
freebsd-ports-gnome-99c5267c9cdc41be034a32499cae4a506d77fcf2.tar.zst
freebsd-ports-gnome-99c5267c9cdc41be034a32499cae4a506d77fcf2.zip
- Add missing LIB_DEPENDS for older FreeBSD which does not have XZ in base system
Reported by: pointyhat
Diffstat (limited to 'devel/libgta')
-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>