-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Christopher Swingley wrote:
> Martin,
>
> * Martin Costabel <[EMAIL PROTECTED]> [2007-Nov-28 21:02 AKST]:
>> Christopher Swingley wrote:
>>> + ulimit -n unlimited
>>> /var/tmp/tmp.1.rQHvpW: line 3: ulimit: open files: cannot modify limit:
>>> Invalid argument
>> This command is contained explicitly in the CompileScript of the mono
>> package. It does not work on Leopard any more.
>>
>> Given that "ulimit -n unlimited" was equivalent to "ulimit -n 10240" on
>> Tiger, it looks reasonable to replace the former by the latter.
>
> Thanks.  I'm not sure how I might accomplish this, though.  I do this
> sort of thing on my Debian box by doing 'apt-get source mono', modifying
> the package how I want, and then running 'debian/rules build' inside the
> source directory.  Finally, 'dpkg --install ../mono..debb'.
>
> Is there an equivalent way to temporarily hack a fink package?
>
> Cheers,
>
> Chris
How Debian does stuff for builds is pretty much irrelevant for Fink.
:-)   Basically, (replace /sw by your Fink root directory):

1)  Find its package description file.  For this example "fink
dumpinfo -finfofile mono" will tell you where it is.
2)  Copy the info and patch file (if present) to
/sw/fink/dists/local/main/finkinfo (this isn't mandatory, but recommended)
3)  Make sure that 'local/main' is in the Trees: line of
/sw/etc/fink.conf .
4)  Verify that the local file is the one being used by fink.  In this
case, this would be via "fink dumpinfo -finfofile mono"
5)  Edit the local info file.  In this case, since the parameter is
set in the CompileScript of the info file, that's straightforward.  In
other cases this might involve the ConfigureParams (which go to the
configure script) setting environment variables, editing the patch
file, ...

Or you could just wait for the maintainer to fix it--that's who the
comment was really directed at.

- --
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFHTuJ0B8UpO3rKjQ8RAv2wAJ4uCiZunG1BeOWgyMSYEWUuoO/HLwCeNIg/
qj9EiyfGqSY/m/j+ua3XInQ=
=QrZI
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to