Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 23:14:19 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f13ad31cb2f4 - main - x11/wvkbd: add hook for out-of-tree patches
Message-ID:  <202306102314.35ANEJjf077076@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f13ad31cb2f45c39d558598c99db7ffde9df2234

commit f13ad31cb2f45c39d558598c99db7ffde9df2234
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-10 21:49:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-10 23:13:40 +0000

    x11/wvkbd: add hook for out-of-tree patches
---
 x11/wvkbd/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x11/wvkbd/Makefile b/x11/wvkbd/Makefile
index 1002e9b7e198..e18d8c1ccda7 100644
--- a/x11/wvkbd/Makefile
+++ b/x11/wvkbd/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim \
 
 USES=		gmake gnome pkgconfig
 USE_GNOME=	cairo pango
+EXTRA_PATCHES=	${${PORTNAME:tu}_PATCHES}
 MAKE_ARGS=	VERSION="${DISTVERSIONFULL}"
 PLIST_FILES=	bin/${PORTNAME}-mobintl \
 		share/man/man1/${PORTNAME}.1.gz
@@ -26,6 +27,10 @@ pre-everything::
 	@${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable"
 	@${ECHO_MSG} "either in ${.CURDIR:T}/Makefile.local, make.conf(5), environ(7) or command line e.g.,"
 	@${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_CONF=/path/to/${PORTNAME}/config.h"
+	@${ECHO_MSG}
+	@${ECHO_MSG} "To apply your own patches set ${PORTNAME:tu}_PATCHES (like ${PORTNAME:tu}_CONF)"
+	@${ECHO_MSG} "to a list of files separated by space with optional -pX suffix e.g.,"
+	@${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_PATCHES='/path/to/foo.patch:-p1'"
 
 post-extract:
 # .if exists(...) before bsd.port.mk ignores *_CONF in make.conf(5) and Makefile.local



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306102314.35ANEJjf077076>