aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-03-04 05:52:19 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-03-04 05:52:19 +0000
commit62e93c3ccfb16fd32cfbcfd1d0c4611d162e6ad5 (patch)
treed6cc8402dc2f6c775ae79a9ad7dfad2e628a1bd6 /x11-wm
parent0b12ad65dc58b142cbd1dd03c06ef2b42b78597b (diff)
downloadports-62e93c3ccfb16fd32cfbcfd1d0c4611d162e6ad5.tar.gz
ports-62e93c3ccfb16fd32cfbcfd1d0c4611d162e6ad5.zip
x11-wm/labwc: find Openbox themes if PREFIX != /usr/local
Notes
Notes: svn path=/head/; revision=567291
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/labwc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile
index 1cbd245c7baf..a94f42f3dbc3 100644
--- a/x11-wm/labwc/Makefile
+++ b/x11-wm/labwc/Makefile
@@ -43,8 +43,9 @@ SUID_VARS= MAYBE_SUID="@(,,4755) "
X11_MESON_ENABLED= xwayland
post-patch:
-# Respect PREFIX for system-wide config
+# Respect PREFIX for system-wide config and Openbox themes
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+ -e 's,/usr/local,${PREFIX},' \
${WRKSRC}/docs/${PORTNAME}-config.5.md \
${WRKSRC}/src/common/dir.c