summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>