Patches: Browse | Submit New | Admin

[#16169] add dir_config to extconf.rb

Date:
2007-12-07 23:49
Priority:
3
Submitted By:
Aman Gupta (tmm1)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
add dir_config to extconf.rb

Detailed description
--- extconf.rb.old	2007-12-07 18:48:13.000000000 -0500
+++ extconf.rb	2007-12-07 18:48:25.000000000 -0500
@@ -1,4 +1,5 @@
 require 'mkmf'
+dir_config("oniguruma")
 have_library("onig")
 $CFLAGS='-Wall'
 create_makefile( "oregexp" )


This lets me do:

  sudo gem install oniguruma -- --with--oniguruma--dir=/opt/local

and let it find the oniguruma includes and libs I installed with MacPorts into /opt/local on OSX

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-12-22 21:20
Sender: Mark Carey

Is there a reason this patch hasn't been commited?
Date: 2008-03-29 11:12
Sender: Graeme Mathieson

I've just prepared the very same patch ready to submit.  Oh well,
I should have looked here first. :-)

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item