Skip to content

Commit

Permalink
Use sysutils/etc_os-release to supply the info panel with some system…
Browse files Browse the repository at this point in the history
… information.
  • Loading branch information
kwm81 committed Apr 28, 2019
1 parent cf5c99e commit 2a4ae23
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sysutils/gnome-control-center/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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>

0 comments on commit 2a4ae23

Please sign in to comment.