Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 23:14:20 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: 985cb080b424 - main - x11/xnotify: add hook for out-of-tree patches
Message-ID:  <202306102314.35ANEKfH077113@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=985cb080b4244b845318385b1e4f8c160b830005

commit 985cb080b4244b845318385b1e4f8c160b830005
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/xnotify: add hook for out-of-tree patches
    
    https://github.com/phillbush/xnotify/pulls?q=is%3Apr+is%3Aopen+patch+in%3Atitle
---
 x11/xnotify/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x11/xnotify/Makefile b/x11/xnotify/Makefile
index 1051566053d8..af7104c01756 100644
--- a/x11/xnotify/Makefile
+++ b/x11/xnotify/Makefile
@@ -17,6 +17,7 @@ USES=		xorg
 USE_GITHUB=	yes
 USE_XORG=	x11 xft xinerama
 GH_ACCOUNT=	phillbush
+EXTRA_PATCHES=	${${PORTNAME:tu}_PATCHES}
 MANPREFIX=	${PREFIX}/share/man
 MAKE_ENV=	LOCALINC="${LOCALBASE}/include" \
 		LOCALLIB="${LOCALBASE}/lib" \
@@ -31,6 +32,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.35ANEKfH077113>