Hello,

while trying to create an openembedded package of ntfs-3g, I found a bug
in the install-exec-local part of src/Makefile.am. It is triggered when
$(rootsbindir) is set to another value than "/sbin", and makes the
subsequent call to $(LN_S) fail.

The attached patch should fix the problem.

Kind regards,

Georg Lukas

P.S: I would appreciate CC'ing me in the reply, as I'm not subscribed.
-- 
|| http://op-co.de ++  GCS/CM d? s: a-- C+++ UL+++ !P L+++ E--- W++  ++
|| gpg: 0x962FD2DE ||  N++ o? K- w---() O M V? PS+ PE-- Y+ PGP++ t*  ||
|| Ge0rG: euIRCnet ||  5 X+ R tv b+(+++) DI+(+++) D+ G e* h! r* !y+  ||
++ IRCnet OFTC OPN ||________________________________________________||
--- src/Makefile.am.orig	2008-05-16 19:15:03.391214841 +0200
+++ src/Makefile.am	2008-05-16 19:15:19.390115273 +0200
@@ -39,7 +39,7 @@
 
 install-exec-local:
 	$(INSTALL) -d "$(DESTDIR)$(rootsbindir)"
-	$(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
+	$(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.ntfs-3g"
 
 install-data-local:
 	$(INSTALL) -d "$(DESTDIR)$(man8dir)"

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
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/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to