aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-01-30 05:13:47 +0800
committerkwm <kwm@FreeBSD.org>2014-01-30 05:13:47 +0800
commit967c19154fd31f1ca5ae68a2cd14b409dea5c36f (patch)
tree0604329e044db6feb50229a6811cf0bb231ca7a9
parent9d669838d45134362e8354d38171a12c1de2bb03 (diff)
downloadfreebsd-ports-gnome-967c19154fd31f1ca5ae68a2cd14b409dea5c36f.tar.gz
freebsd-ports-gnome-967c19154fd31f1ca5ae68a2cd14b409dea5c36f.tar.zst
freebsd-ports-gnome-967c19154fd31f1ca5ae68a2cd14b409dea5c36f.zip
Make sure the ${DATADIR}/remote-volume-monitors directory is always there.
This was exposed by the introspection build of libgee failing when neither hal or gphoto2 backends where enabled. Reported by: Torfinn Ingolfsen <tingox@gmail.com> (ports ML)
-rw-r--r--devel/gvfs/Makefile2
-rw-r--r--devel/gvfs/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile
index 0144bfeea697..7d594418b319 100644
--- a/devel/gvfs/Makefile
+++ b/devel/gvfs/Makefile
@@ -94,5 +94,7 @@ PLIST_SUB+= HAL="@comment "
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.0
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gio/modules/lib*.so
+ @${MKDIR} ${STAGEDIR}${DATADIR}/remote-volume-monitors
+ ${TOUCH} ${STAGEDIR}${DATADIR}/remote-volume-monitors/.keep
.include <bsd.port.mk>
diff --git a/devel/gvfs/pkg-plist b/devel/gvfs/pkg-plist
index 5463953eabf4..f919ac64f504 100644
--- a/devel/gvfs/pkg-plist
+++ b/devel/gvfs/pkg-plist
@@ -75,6 +75,7 @@ share/gvfs/mounts/afp.mount
%%SMB%%%%DATADIR%%/mounts/smb-browse.mount
%%SMB%%%%DATADIR%%/mounts/smb.mount
%%DATADIR%%/mounts/trash.mount
+%%DATADIR%%/remote-volume-monitors/.keep
%%GPHOTO2%%%%DATADIR%%/remote-volume-monitors/gphoto2.monitor
%%HAL%%%%DATADIR%%/remote-volume-monitors/hal.monitor
share/locale/af/LC_MESSAGES/gvfs.mo