summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-10-21 09:59:09 +0000
committerNick Hadaway <raker@gentoo.org>2003-10-21 09:59:09 +0000
commitc292695fe2563902cd0e38fe6330f6e376d0035c (patch)
tree4763aa41d980afa8ae6ee77dda7105df8a8ffb98 /x11-wm/afterstep/files
parentFix for a issues which surfaced with sandbox enabled. a patch for the makefi... (diff)
downloadhistorical-c292695fe2563902cd0e38fe6330f6e376d0035c.tar.gz
historical-c292695fe2563902cd0e38fe6330f6e376d0035c.tar.bz2
historical-c292695fe2563902cd0e38fe6330f6e376d0035c.zip
Fix for a issues which surfaced with sandbox enabled. a patch for the makefile.*
Diffstat (limited to 'x11-wm/afterstep/files')
-rw-r--r--x11-wm/afterstep/files/as2-gnome.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-wm/afterstep/files/as2-gnome.diff b/x11-wm/afterstep/files/as2-gnome.diff
new file mode 100644
index 000000000000..57b9343f62b9
--- /dev/null
+++ b/x11-wm/afterstep/files/as2-gnome.diff
@@ -0,0 +1,32 @@
+--- Makefile.in.old 2003-09-25 14:07:20.000000000 -0700
++++ Makefile.in 2003-10-19 16:17:00.000000000 -0700
+@@ -63,12 +63,13 @@
+ echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \
+ fi \
+ fi
+- @if [ -d /usr/share/gnome/wm-properties ] ; then \
+- if [ -w /usr/share/gnome/wm-properties ] ; then \
+- echo $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \
+- $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \
++ @if [ -d $(GNOME_SHAREDIR)/wm-properties ] ; then \
++ if [ -w $(GNOME_SHAREDIR)/wm-properties ] ; then \
++ echo $(CP) AfterStep.desktop $(GNOME_SHAREDESTDIR)/wm-properties/; \
++ $(MKDIR) -p $(GNOME_SHAREDESTDIR)/wm-properties; \
++ $(CP) AfterStep.desktop $(GNOME_SHAREDESTDIR)/wm-properties/; \
+ else \
+- echo "/usr/share/gnome/wm-properties exists but is not writable."; \
++ echo "$(GNOME_SHAREDIR)/wm-properties exists but is not writable."; \
+ echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \
+ fi \
+ fi
+--- autoconf/Makefile.defines.in.old 2003-08-22 23:28:44.000000000 -0700
++++ autoconf/Makefile.defines.in 2003-10-19 16:20:53.000000000 -0700
+@@ -55,6 +55,8 @@
+ AFTER_MAN_DIR = $(DESTDIR)@mandir@/man1
+ AFTER_DOC_DIR = $(DESTDIR)@datadir@/afterstep/doc
+ AFTER_SHAREDIR = $(DESTDIR)@datadir@/afterstep
++GNOME_SHAREDIR = @datadir@/gnome
++GNOME_SHAREDESTDIR = $(DESTDIR)$(GNOME_SHAREDIR)
+ AFTER_DIR = @with_afterdir@
+ AFTER_SAVE = @with_afterdir@/.workspace_state
+ AFTER_NONCF = @with_afterdir@/non-configurable