FreeBSD Bugzilla – Attachment 164186 Details for
Bug 205106
[NEW MODULE] bundle.mk: USES=bundle allows bundling ports with the third party submodules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
mk-bundle.patch (text/plain), 1.25 KB, created by
Yuri Victorovich
on 2015-12-13 14:41:53 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2015-12-13 14:41:53 UTC
Size:
1.25 KB
patch
obsolete
>diff -ruN Mk1/Uses/bundle.mk Mk2/Uses/bundle.mk >--- Mk1/Uses/bundle.mk 1969-12-31 16:00:00.000000000 -0800 >+++ Mk2/Uses/bundle.mk 2015-12-13 06:40:47.711500000 -0800 >@@ -0,0 +1,32 @@ >+# $FreeBSD$ >+# >+# Provide support for the bundled projects >+# >+# Feature: bundle >+# Usage: USES=bundle >+# >+# MAINTAINER: portmgr@FreeBSD.org >+ >+# BUNDLE - set of bundled submodules in the form directory:group >+# that will be extracted under WRKSRC. >+# Extracted submodules should be present in DISTFILES. >+# BUNDLE_ROOT - The root path for the bundle. Default: WRKSRC >+ >+.if !defined(_INCLUDE_USES_BUNDLE_MK) >+_INCLUDE_USES_BUNDLE_MK= yes >+ >+BUNDLE_ROOT?=${WRKSRC} >+ >+_USES_extract+= 900:do-bundle >+do-bundle: >+ @${ECHO} "===> Extracting bundled submodules for ${PKGNAME}" >+.for b in ${BUNDLE:C@.*:@@} >+ @[ -d ${BUNDLE_ROOT}/${BUNDLE:M*\:${b}:C@:.*@@} ] || ${ECHO} "No directory for the bundle ${b}: ${BUNDLE_ROOT}/${BUNDLE:M*\:${b}:C@:.*@@}" >+ @[ -n "${DISTFILES:M*\:${b}:C@:.*@@}" ] || ${ECHO} "No distfile for the bundle ${b}: ${DISTFILES:M*\:${b}:C@:.*@@}" >+ @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES:M*\:${b}:C@:.*@@} \ >+ -C ${BUNDLE_ROOT}/${BUNDLE:M*\:${b}:C@:.*@@} --strip 1; >+.endfor >+ >+EXTRACT_ONLY=${DISTFILES:N*\:*} >+ >+.endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205106
:
163956
|
163961
|
164186
|
164803