svn commit: r528980 - head/x11/wlogout
Jan Beich
jbeich at FreeBSD.org
Mon Mar 23 16:56:49 UTC 2020
Author: jbeich
Date: Mon Mar 23 16:56:48 2020
New Revision: 528980
URL: https://svnweb.freebsd.org/changeset/ports/528980
Log:
x11/wlogout: respect PREFIX != /usr/local
Not quite correct as BSD hier and GNU hier don't agree on what goes
into /usr/local. FreeBSD support for PREFIX == /usr is very poor, so
simply redirect /usr/local.
Modified:
head/x11/wlogout/Makefile (contents, props changed)
Modified: head/x11/wlogout/Makefile
==============================================================================
--- head/x11/wlogout/Makefile Mon Mar 23 16:53:46 2020 (r528979)
+++ head/x11/wlogout/Makefile Mon Mar 23 16:56:48 2020 (r528980)
@@ -24,4 +24,10 @@ OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
+post-patch:
+ @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+ ${WRKSRC}/main.c \
+ ${WRKSRC}/man/${PORTNAME}.1.scd \
+ ${WRKSRC}/style.css
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list