Bug 182514 - [PATCH] Mk/bsd.options.mk: add more OPTIONS helpers
Summary: [PATCH] Mk/bsd.options.mk: add more OPTIONS helpers
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-30 16:30 UTC by Po-Chuan Hsieh
Modified: 2013-10-01 17:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.59 KB, patch)
2013-09-30 16:30 UTC, Po-Chuan Hsieh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-30 16:30:00 UTC
- Add more OPTIONS helpers: MAKE_ARGS, PLIST_FILES, PLIST_DIRS and PLIST_DIRSTRY
- Fix typo

Fix: --- bsd.options.mk.patch begins ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-30 16:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.options.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-09-30 17:29:53 UTC
Responsible Changed
From-To: portmgr->sunpoet

Approved, please commit.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-01 17:28:00 UTC
Author: sunpoet
Date: Tue Oct  1 16:27:52 2013
New Revision: 328963
URL: http://svnweb.freebsd.org/changeset/ports/328963

Log:
  - Add more OPTIONS helpers: MAKE_ARGS, PLIST_FILES, PLIST_DIRS and PLIST_DIRSTRY
  - Fix typo
  
  PR:		ports/182514
  Submitted by:	sunpoet (myself)
  Approved by:	bdrewery (portmgr)

Modified:
  head/Mk/bsd.options.mk

Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk	Tue Oct  1 16:13:56 2013	(r328962)
+++ head/Mk/bsd.options.mk	Tue Oct  1 16:27:52 2013	(r328963)
@@ -70,7 +70,7 @@
 # WITHOUT					- Unset options from the command line
 #
 #
-# The following knobs are there to simplfy the handling of OPTIONS in simple
+# The following knobs are there to simplify the handling of OPTIONS in simple
 # cases :
 #
 # OPTIONS_SUB				When defined it will add to PLIST_SUB:
@@ -93,9 +93,9 @@
 # ${opt}_CMAKE_OFF			When option is disabled, it will add its content to
 #							the CMAKE_ARGS.
 #
-# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES
-# DISTFILES, defining ${opt}_${variable} will add it to the actual variable
-# when the option is enabled.
+# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV
+# USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY, defining
+# ${opt}_${variable} will add it to the actual variable when the option is enabled.
 #
 # For each of the depends target PKG EXTRACT PATCH FETCH BUILD LIB RUN,
 # defining ${opt}_${deptype}_DEPENDS will add it to the actual dependency when
@@ -392,7 +392,8 @@ CONFIGURE_ARGS+=	${${opt}_CONFIGURE_ON}
 .    if defined(${opt}_CMAKE_ON)
 CMAKE_ARGS+=	${${opt}_CMAKE_ON}
 .    endif
-.    for flags in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES
+.    for flags in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV \
+                  USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY
 .      if defined(${opt}_${flags})
 ${flags}+=	${${opt}_${flags}}
 .      endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-01 17:28:19 UTC
State Changed
From-To: open->closed

Committed. Thanks!