svn commit: r555686 - head/x11-wm/river

Jan Beich jbeich at FreeBSD.org
Thu Nov 19 03:49:09 UTC 2020


Author: jbeich
Date: Thu Nov 19 03:49:08 2020
New Revision: 555686
URL: https://svnweb.freebsd.org/changeset/ports/555686

Log:
  x11-wm/river: respect PREFIX after r555680

Modified:
  head/x11-wm/river/Makefile   (contents, props changed)

Modified: head/x11-wm/river/Makefile
==============================================================================
--- head/x11-wm/river/Makefile	Thu Nov 19 01:34:36 2020	(r555685)
+++ head/x11-wm/river/Makefile	Thu Nov 19 03:49:08 2020	(r555686)
@@ -45,6 +45,11 @@ MANPAGES_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz 
 X11_CONFIGURE_ON=	-Dxwayland=true
 X11_CONFIGURE_OFF=	-Dxwayland=false
 
+post-patch:
+# Respect PREFIX for system-wide config (a la sysconfdir in Meson)
+	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+		${WRKSRC}/river/main.zig
+
 do-build:
 	@(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})
 


More information about the svn-ports-all mailing list