aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-03-25 10:46:53 +0800
committermarcus <marcus@FreeBSD.org>2008-03-25 10:46:53 +0800
commita6d1d034b4898190f1262826f87681df5d55ec52 (patch)
tree19bd92d46f9ca54f591b6d5addd7722504b79465 /devel
parenta16ee0b807a85881de6fb28133b53d0e6f263913 (diff)
downloadfreebsd-ports-gnome-a6d1d034b4898190f1262826f87681df5d55ec52.tar.gz
freebsd-ports-gnome-a6d1d034b4898190f1262826f87681df5d55ec52.tar.zst
freebsd-ports-gnome-a6d1d034b4898190f1262826f87681df5d55ec52.zip
Disable the libarchive module on versions of FreeBSD that have an older
libarchive.
Diffstat (limited to 'devel')
-rw-r--r--devel/gvfs/Makefile7
-rw-r--r--devel/gvfs/pkg-plist4
2 files changed, 9 insertions, 2 deletions
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile
index d52baa3468e1..142b7a3f91df 100644
--- a/devel/gvfs/Makefile
+++ b/devel/gvfs/Makefile
@@ -70,4 +70,11 @@ CONFIGURE_ARGS+= --disable-gphoto2
PLIST_SUB+= GPHOTO2="@comment "
.endif
+.if ${OSVERSION} < 602112
+CONFIGURE_ARGS+= --disable-archive
+PLIST_SUB+= ARCHIVE="@comment "
+.else
+PLIST_SUB+= ARCHIVE=""
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/gvfs/pkg-plist b/devel/gvfs/pkg-plist
index f1b4305b9c05..9620e1c51157 100644
--- a/devel/gvfs/pkg-plist
+++ b/devel/gvfs/pkg-plist
@@ -28,7 +28,7 @@ lib/libgvfscommon.so
lib/libgvfscommon.so.0
%%FUSE%%libexec/gvfs-fuse-daemon
libexec/gvfsd
-libexec/gvfsd-archive
+%%ARCHIVE%%libexec/gvfsd-archive
libexec/gvfsd-burn
libexec/gvfsd-computer
libexec/gvfsd-dav
@@ -43,7 +43,7 @@ libexec/gvfsd-sftp
%%SMB%%libexec/gvfsd-smb-browse
libexec/gvfsd-trash
share/dbus-1/services/gvfs-daemon.service
-share/gvfs/mounts/archive.mount
+%%ARCHIVE%%share/gvfs/mounts/archive.mount
share/gvfs/mounts/burn.mount
share/gvfs/mounts/computer.mount
share/gvfs/mounts/dav.mount