Date: Sat, 10 Jun 2023 23:14:17 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: d3d5a8705b2c - main - x11/somebar: add hook for out-of-tree patches Message-ID: <202306102314.35ANEHUK077027@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=d3d5a8705b2c161e08da0823ef9bf3806d1aaea9 commit d3d5a8705b2c161e08da0823ef9bf3806d1aaea9 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/somebar: add hook for out-of-tree patches https://git.sr.ht/~raphi/somebar/tree/master/item/contrib --- x11/somebar/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/somebar/Makefile b/x11/somebar/Makefile index 6069f6002187..aca2d8b4d8ab 100644 --- a/x11/somebar/Makefile +++ b/x11/somebar/Makefile @@ -16,6 +16,7 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c++17-lang gnome meson pkgconfig USE_GNOME= cairo pango +EXTRA_PATCHES= ${${PORTNAME:tu}_PATCHES} PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz @@ -23,6 +24,11 @@ pre-everything:: @${ECHO_MSG} "To build ${PORTNAME} with your own config.hpp 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.hpp" + @${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} -n "\$$ make install clean ${PORTNAME:tu}_PATCHES='\$${WRKSRC}/contrib/foo.patch:-p1" + @${ECHO_MSG} " /path/to/bar.patch'" post-extract: @${ECHO_MSG} "Creating symlink: config.hpp -> ${${PORTNAME:tu}_CONF:Uconfig.def.hpp}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306102314.35ANEHUK077027>