git: caaa0af50f4b - main - x11-wm/dwl: add hook for out-of-tree patches
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Jun 2023 23:14:18 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=caaa0af50f4b7db3c2244627bd83911615d704dc commit caaa0af50f4b7db3c2244627bd83911615d704dc 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:39 +0000 x11-wm/dwl: add hook for out-of-tree patches https://github.com/djpohly/dwl/wiki/Patches --- x11-wm/dwl/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11-wm/dwl/Makefile b/x11-wm/dwl/Makefile index 32605eb84aaf..46dd4375201f 100644 --- a/x11-wm/dwl/Makefile +++ b/x11-wm/dwl/Makefile @@ -24,6 +24,7 @@ LIB_DEPENDS= libwayland-server.so:graphics/wayland \ USES= compiler:c11 gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= djpohly +EXTRA_PATCHES= ${${PORTNAME:tu}_PATCHES} MAKE_ARGS= VERSION="${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ @@ -46,6 +47,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