summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2019-04-28 21:18:53 +0000
committerKoop Mast <kwm@FreeBSD.org>2019-04-28 21:18:53 +0000
commitc80b06990dbede8f2fe84fcba3726303901c3990 (patch)
tree745eeb2d671e3839eaf0a85fcc5a1d88a9427c16
parentUpdate neovim to 0.3.5 (diff)
Use sysutils/etc_os-release to supply the info panel with some system information.
Notes
Notes: svn path=/head/; revision=500371
-rw-r--r--sysutils/gnome-control-center/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile
index 45b201071806..b5b5f84a7773 100644
--- a/sysutils/gnome-control-center/Makefile
+++ b/sysutils/gnome-control-center/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnome-control-center
PORTVERSION= 3.28.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -37,6 +37,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
RUN_DEPENDS= gnome-settings-daemon>=3.4.0:sysutils/gnome-settings-daemon \
gsettings-desktop-schemas>=3.2.2:devel/gsettings-desktop-schemas \
cantarell-fonts>=0:x11-fonts/cantarell-fonts \
+ etc_os-release>0:sysutils/etc_os-release \
gcm-calibrate:graphics/gnome-color-manager
PORTSCOUT= limitw:1,even
@@ -64,4 +65,9 @@ CHEESE_MESON_TRUE= cheese
WAYLAND_MESON_TRUE= wayland
WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/os-release|${LOCALBASE}/etc/os-release|g' \
+ ${WRKSRC}/panels/privacy/cc-privacy-panel.c \
+ ${WRKSRC}/panels/info/cc-info-overview-panel.c
+
.include <bsd.port.mk>