FreeBSD Bugzilla – Attachment 144026 Details for
Bug 191273
[patch] port.mk/options.mk: BUILD_RUN_DEPENDS convenience helper
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
build_run_depends.patch (text/plain), 2.49 KB, created by
Adam Weinberger
on 2014-06-22 13:25:22 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Adam Weinberger
Created:
2014-06-22 13:25:22 UTC
Size:
2.49 KB
patch
obsolete
>Index: bsd.options.mk >=================================================================== >--- bsd.options.mk (revision 358797) >+++ bsd.options.mk (working copy) >@@ -109,7 +109,7 @@ > # ${opt}_${variable}_OFF will add its content to the actual variable when the > # option is disabled. > # >-# For each of the depends target PKG FETCH EXTRACT PATCH BUILD LIB RUN, >+# For each of the depends target PKG FETCH EXTRACT PATCH BUILD LIB RUN BUILD_RUN, > # defining ${opt}_${deptype}_DEPENDS will add its content to the actual > # dependency when the option is enabled. Defining > # ${opt}_${deptype}_DEPENDS_OFF will add its content to the actual dependency >@@ -454,6 +454,10 @@ > ${flags}+= ${${opt}_${flags}} > . endif > . endfor >+. if defined(${opt}_BUILD_RUN_DEPENDS) >+${opt}_BUILD_DEPENDS+= ${opt}_BUILD_RUN_DEPENDS >+${opt}_RUN_DEPENDS+= ${opt}_BUILD_RUN_DEPENDS >+. endif > . for deptype in ${_OPTIONS_DEPENDS} > . if defined(${opt}_${deptype}_DEPENDS) > ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS} >@@ -480,6 +484,10 @@ > ${flags}+= ${${opt}_${flags}_OFF} > . endif > . endfor >+. if defined(${opt}_BUILD_RUN_DEPENDS_OFF) >+${opt}_BUILD_DEPENDS+= ${opt}_BUILD_RUN_DEPENDS_OFF >+${opt}_RUN_DEPENDS+= ${opt}_BUILD_RUN_DEPENDS_OFF >+. endif > . for deptype in ${_OPTIONS_DEPENDS} > . if defined(${opt}_${deptype}_DEPENDS_OFF) > ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS_OFF} >Index: bsd.port.mk >=================================================================== >--- bsd.port.mk (revision 358797) >+++ bsd.port.mk (working copy) >@@ -288,6 +288,9 @@ > # ${DEPENDS_TARGET}. The first field also supports a > # package name with a version range, in the form package>=1.2 > # if a particular version is desired. >+# BUILD_RUN_DEPENDS >+# - A convenient way to specify a tuple as both a BUILD and >+# RUN dependency. > # LIB_DEPENDS - A list of "lib:dir[:target]" tuples of other ports this > # package depends on. "lib" is the name of a shared library. > # make will use "ldconfig -r" to search for the library. >@@ -5062,6 +5065,10 @@ > > # Dependency lists: both build and runtime, recursive. Print out directory names. > >+.if defined(BUILD_RUN_DEPENDS) >+BUILD_DEPENDS+= ${BUILD_RUN_DEPENDS} >+RUN_DEPENDS+= ${BUILD_RUN_DEPENDS} >+.endif > _UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} > _DEPEND_DIRS= ${_UNIFIED_DEPENDS:C,^[^:]*:([^:]*).*$,\1,} > _DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,}
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
Flags:
eadler
:
maintainer-approval?
(
portmgr
)
Actions:
View
|
Diff
Attachments on
bug 191273
: 144026