Hi!

Danny danny.milo at gmx.net
Tue Apr 15 19:33:17 CEST 2003


Hi!
I've been trying xfce4 and I'm impressed :) it can do all the stuff I
need, but it is very fast too.

Thankies :D

However, as I was in the progress of making some ebuild scripts for the
gentoo linux distribution, I noticed that some lines in the xffm
Makefile are missing DESTDIR. This is bad for gentoo's sandboxes' temper
;)

So here is a patch:
--- /usr/portage/distfiles/cvs-src/xffm/xfce-devel/xffm/Makefile.am    
2003-04
+++ Makefile.am 2003-04-15 15:07:06.000000000 +0200
@@ -12,26 +12,26 @@

 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
-       rm -f $(bindir)/xffstab
-       ln -s $(bindir)/xffm $(bindir)/xffstab
-       rm -f $(bindir)/xfbook
-       ln -s $(bindir)/xffm $(bindir)/xfbook
-       rm -f $(bindir)/xfapps
-       ln -s $(bindir)/xffm $(bindir)/xfapps
-       rm -f $(bindir)/xftree4
-       ln -s $(bindir)/xffm $(bindir)/xftree4
-       rm -f $(bindir)/xfsamba4
-       ln -s $(bindir)/xffm $(bindir)/xfsamba4
-       rm -f $(bindir)/xfbook4
-       ln -s $(bindir)/xffm $(bindir)/xfbook4
-       rm -f $(bindir)/xfapps4
-       ln -s $(bindir)/xffm $(bindir)/xfapps4
-       rm -f $(bindir)/xfglob4
-       ln -s $(bindir)/xffm $(bindir)/xfglob4
-       rm -f $(bindir)/xftrash4
-       ln -s $(bindir)/xffm $(bindir)/xftrash4
-       rm -f $(bindir)/xffstab4
-       ln -s $(bindir)/xffm $(bindir)/xffstab4
+       rm -f $(DESTDIR)$(bindir)/xffstab
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xffstab
+       rm -f $(DESTDIR)$(bindir)/xfbook
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfbook
+       rm -f $(DESTDIR)$(bindir)/xfapps
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfapps
+       rm -f $(DESTDIR)$(bindir)/xftree4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xftree4
+       rm -f $(DESTDIR)$(bindir)/xfsamba4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfsamba4
+       rm -f $(DESTDIR)$(bindir)/xfbook4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfbook4
+       rm -f $(DESTDIR)$(bindir)/xfapps4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfapps4
+       rm -f $(DESTDIR)$(bindir)/xfglob4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xfglob4
+       rm -f $(DESTDIR)$(bindir)/xftrash4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xftrash4
+       rm -f $(DESTDIR)$(bindir)/xffstab4
+       ln -s $(bindir)/xffm $(DESTDIR)$(bindir)/xffstab4
        @$(NORMAL_INSTALL)
        if test -f $(srcdir)/AUTHORS; then \
           $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(pkgdatadir); \


So basically just add $(DESTDIR) to the destination parts :)






More information about the Xfce4-dev mailing list