Bug 159288 - bsd.port.mk : Add USE_DRUPAL for easy include of Mk/bsd.drupal.mk
Summary: bsd.port.mk : Add USE_DRUPAL for easy include of Mk/bsd.drupal.mk
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 09:40 UTC by Chris Rees
Modified: 2011-08-12 17:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rees freebsd_committer freebsd_triage 2011-07-29 09:40:11 UTC
	As per every other file in ports/Mk, it's a little on the fiddly side to .include bsd.drupal.mk; full path is needed. Following convention, a USE_DRUPAL knob has been added.

Fix: 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.--oDCI5Ox7RBwTRIOitKO4uOMiz3oS4EthABHZrlOFGZp9Iwnt
Content-Type: text/plain; name="bsd-port-mk-drupal.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="bsd-port-mk-drupal.patch"

Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.690
diff -u -r1.690 bsd.port.mk
--- bsd.port.mk	21 Jul 2011 15:10:46 -0000	1.690
+++ bsd.port.mk	29 Jul 2011 08:27:19 -0000
@@ -1549,6 +1549,10 @@
 .include "${PORTSDIR}/Mk/bsd.qt.mk"
 .endif
 
+.if defined(USE_DRUPAL)
+.include "${PORTSDIR}/Mk/bsd.drupal.mk"
+.endif
+
 .if defined(WANT_GECKO) || defined(USE_GECKO) || defined(USE_FIREFOX) || defined(USE_FIREFOX_BUILD) || defined(USE_SEAMONKEY) || defined(USE_SEAMONKEY_BUILD) || defined(USE_THUNDERBIRD) || defined(USE_THUNDERBIRD_BUILD)
 .include "${PORTSDIR}/Mk/bsd.gecko.mk"
 .endif
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-29 09:40:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-08-08 10:04:31 UTC
State Changed
From-To: open->analyzed

take for -exp run. 


Comment 3 Mark Linimon freebsd_committer freebsd_triage 2011-08-08 10:04:31 UTC
Responsible Changed
From-To: portmgr->linimon
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2011-08-12 17:09:14 UTC
State Changed
From-To: analyzed->closed

Committed, thanks.