Skip to contentSkip to conversation

Patch for make install

PATCH Yves BLUSSEAU 3 participants 4 messages Jun 30, 2009 – Jul 1, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi,

this patch correct installation of headers files on Mac OSX.

Bug:
cp: ./include/grub/cpu is a directory (not copied).

I have done a make install under OSX and linux after applying the patch. Now it works on the 2 systems.

Best Regards
Yves Blusseau

Makefile.in +1 -1
index f82566a..54a05d6 100644
@@ -229,7 +229,7 @@ install-local: all
 	    $(INSTALL_DATA) $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
 	  elif test -L "$$dir$$file"; then \
 	    rm -rf $(DESTDIR)$(includedir)/$$dest && \
-	    cp -fP $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
+	    cp -fR $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
 	  fi; \
 	done
 	$(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
#1 lore raw
Quoted 9 lines · Yves BLUSSEAU

Hi,

this patch correct installation of headers files on Mac OSX.

Bug:
cp: ./include/grub/cpu is a directory (not copied).

I have done a make install under OSX and linux after applying the patch. Now it works on the 2 systems.

Please provide the ChangeLog entry. It's important that you explain the patch.

I'd like to have a look how it would affect FreeBSD. I remember that there were more problems with header installation on FreeBSD 7.2, but I didn't have a chance to take a close look.

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw

Hello

Quoted 11 lines · Pavel Roskin
Quoted 9 lines · Yves BLUSSEAU

Hi,

this patch correct installation of headers files on Mac OSX.

Bug:
       cp: ./include/grub/cpu is a directory (not copied).

I have done a make install under OSX and linux after applying the patch. Now it works on the 2 systems.

Quoted 7 lines

Please provide the ChangeLog entry.  It's important that you explain the patch.

I'd like to have a look how it would affect FreeBSD.  I remember that there were more problems with header installation on FreeBSD 7.2, but I didn't have a chance to take a close look.

Yesterday on IRC when I spoke with Yves I said exactly the same. I have FreeBSD 8.0-current and will test this patch and whole grub for regressions today

Quoted 10 lines

--
Regards,
Pavel Roskin

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 4 lines
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
#3 lore raw
In reply to Yves BLUSSEAU
Quoted 9 lines · Yves BLUSSEAU

Hi,

this patch correct installation of headers files on Mac OSX.

Bug:
cp: ./include/grub/cpu is a directory (not copied).

I have done a make install under OSX and linux after applying the patch. Now it works on the 2 systems.

Your patch works on FreeBSD 7.2, so I've applied it with my ChangeLog entry.

Signature · 2 lines
Regards,
Pavel Roskin