[42257] trunk/dports/devel/git-core/files/patch-Makefile.diff
Simon Ruderich
simon at ruderich.org
Tue Nov 18 13:29:33 PST 2008
On Mon, Nov 17, 2008 at 07:29:50PM +0100, nox wrote:
> Le 17 nov. 08 à 19:01, simon at macports.org a écrit :
>
>> ---- Makefile.orig 2008-10-22 11:12:25.000000000 +0200
>> -+++ Makefile 2008-10-22 11:13:23.000000000 +0200
>> +--- Makefile.orig 2008-11-13 19:55:15.000000000 +0100
>> ++++ Makefile 2008-11-13 19:56:36.000000000 +0100
>> @@ -113,7 +113,7 @@
>> #
>> # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
>> @@ -23,7 +23,7 @@
>> # Some gcc does not accept and pass -R to the linker to specify
>> # the runtime dynamic library path.
>> - CC_LD_DYNPATH = -Wl,-rpath=
>> -+ CC_LD_DYNPATH = -Wl,-rpath,
>> ++ CC_LD_DYNPATH = -L
>> else
>> CC_LD_DYNPATH = -R
>> endif
>
> Instead of a patch, can't you just do `build.args-append
> CC_LD_DYNPATH=-L`?
>
> Regards,
> Anthony Ramine.
I didn't test this as the patch worked fine for me and others on the ticket.
Feel free to change it if it works.
But I like the patch idea a bit more because it makes clear what we (MacPorts)
changed to get the application to build. If git changed the Makefile we would
immediately know it because the patch fails.
Simon
--
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20081118/5dac717f/attachment.bin>
More information about the macports-dev
mailing list