FreeBSD Bugzilla – Attachment 201836 Details for
Bug 235596
Mk/Uses/gmake: new optional arguments -- `extract` and `patch`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gmake.mk patch
gmake.patch (text/plain), 1011 bytes, created by
Iblis Lin
on 2019-02-08 12:24:05 UTC
(
hide
)
Description:
gmake.mk patch
Filename:
MIME Type:
Creator:
Iblis Lin
Created:
2019-02-08 12:24:05 UTC
Size:
1011 bytes
patch
obsolete
>diff --git a/Mk/Uses/gmake.mk b/Mk/Uses/gmake.mk >index 9181da894075..f1c68beaa6e0 100644 >--- a/Mk/Uses/gmake.mk >+++ b/Mk/Uses/gmake.mk >@@ -3,19 +3,33 @@ > # Provide support to use the GNU make > # > # Feature: gmake >-# Usage: USES=gmake >+# Usage: USES=gmake or USES=gmake:ARGS >+# Valid ARGS: extract, patch, build (default) >+# Examples: >+# USES=gmake:extract # the ${GMAKE} is available in the 'extract' target >+# USES=gmake:extract,build # ${MAKE_CMD} becomes gmake as well > # > # MAINTAINER: portmgr@FreeBSD.org > > .if !defined(_INCLUDE_USES_GMAKE_MK) > _INCLUDE_USES_GMAKE_MK= yes > >-.if !empty(gmake_ARGS) >-IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments >+.if empty(gmake_ARGS) >+gmake_ARGS= build > .endif > >+.if ${gmake_ARGS:Mbuild} > BUILD_DEPENDS+= gmake:devel/gmake > CONFIGURE_ENV+= MAKE=gmake > MAKE_CMD= gmake >+.endif >+ >+.if ${gmake_ARGS:Mextract} >+EXTRACT_DEPENDS+= gmake:devel/gmake >+.endif >+ >+.if ${gmake_ARGS:Mpatch} >+PATCH_DEPENDS+= gmake:devel/gmake >+.endif > > .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 235596
: 201836