Date: Tue, 08 Dec 2015 00:52:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205106] [NEW MODULE] bundle.mk: USES=bundle allows bundling ports with the third party submodules Message-ID: <bug-205106-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205106 Bug ID: 205106 Summary: [NEW MODULE] bundle.mk: USES=bundle allows bundling ports with the third party submodules Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@rawbw.com CC: freebsd-ports-bugs@FreeBSD.org Created attachment 163956 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163956&action=edit patch USES=bundle simplifies bundling ports with submodules taken from the other repositories. # example use USES+= bundle BUNDLE+= 3rdparty/easyloggingpp:easyloggingpp BUNDLE+= 3rdparty/qtconsole:qtconsole BUNDLE+= src/resources/qml/3rdparty/php-unserialize-js:php-unserialize-js # bundled distfiles might be defined like this GH_TUPLE+= easylogging:easyloggingpp:f926802:easyloggingpp GH_TUPLE+= uglide:QtConsole:0e7c88c:qtconsole GH_TUPLE+= RedisDesktop:php-unserialize-js:a4d804f:php-unserialize-js In case of USES=bundle extract will only extract the default distfile, and the rest will be extracted into the specified subdirectories. The idea of USES=bundle was inspired by git submodules (which are used a lot now). Many projects now recommend to use > git submodule update --recursive to update git submodules. In this case USES=bundle should be used. -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205106-13>