>On 21 May 2008, at 04:53, Daniel Macks wrote:
>
>> Could this pile of sed patchscript be converted into an actual .patch
>> file?
>Feel free ! pkg belongs to "None" ...
>> That way one doesn't have to learn sed (and install fink's sed!)
>> to understand what's happening here. As a bonus, if the source changes
>> in future versions, either the patch will continue to work or it will
>> fail loudly, whereas a script full of regexp- or line-number-based
>> changes may simply and silently do "something different".
>
>Understand your arguments _ on the other hand a patch file tends to
>be much more verbose, and more difficult to edit.
>Further a patchscript allows to group related items, even when those
>(sed or other) commands affect a large number of files, and to comment
>such items individually if needed..
>Hence my preference for patchscripts in general ... :)
>
>Jean-Francois
All of this discussion of patch files vice patchscripts is not getting the
problem I reported fixed.
I have isolated the problem to the fact that the libpt.dylib symbolic link is
not created in the same directory as the actual dynamic libray. I found that
the Makefile is creating the following directory structure (and this looks
wrong to me for some reason):
/sw/src/fink.build/root-pwlib-1.10.10/sw/lib/lib
The symbolic link for libpt is created in:
/sw/src/fink.build/root-pwlib-1.10.10/sw/lib
The appropriate lines of code from the Makefile are:
$(INSTALL) -m 444 lib/$(PTLIB_FILE).1.10.10 $(DESTDIR)$(LIBDIR)
(cd $(DESTDIR)$(LIBDIR) ; \
rm -f $(PTLIB_FILE).1.10 ; \
ln -sf $(PTLIB_FILE).1.10.10 $(PTLIB_FILE).1.10 \
)
(cd $(DESTDIR)$(LIBDIR) ; \
rm -f $(PTLIB_FILE).1 ; \
ln -sf $(PTLIB_FILE).1.10.10 $(PTLIB_FILE).1 \
)
(cd $(DESTDIR)$(LIBDIR) ; \
rm -f $(PTLIB_FILE) ; \
ln -sf $(PTLIB_FILE).1.10.10 $(PTLIB_FILE) \
)
(cd $(DESTDIR)$(LIBDIR); \
rm -f libpt.dylib ; \
ln -sf $(PTLIB_FILE) libpt.dylib \
)
Reading the beginning of the Makefile shows the following:
PREFIX=/sw
exec_prefix = ${PREFIX}
LIBDIR=/sw/lib
export PWLIBDIR=/sw/src/fink.build/pwlib1-1.10.10-2/pwlib-1.10.10
So from my calculations the actual DESTDIR should be
/sw/src/fink.build/root-pwlib1-1.10.10/pwlib-1.10.10/
So, as my final question, why are the first three ln -s commands not working
like the last one?
James McKenzie
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users