Bug#2500: (no subject)
Package: emacs
Version: 19.30-1
this patch is needed to make the debian.rules file
arch-independend. at least it should not change anything
on intel's, but it makes the emacs compile (and run ;-)
on m68k-linux.
jjm
----------------------------------------------------------------------
--- emacs-19.30/debian.rules.~1~ Sun Feb 25 20:09:33 1996
+++ emacs-19.30/debian.rules Wed Mar 6 22:05:59 1996
@@ -29,9 +29,14 @@
dir = `pwd`
+# uname returns i[345]86. only one of them is known by the Makefile
+DefaultIntelArch=i486
+# get the architecture name
+ArchName=`uname -m | sed -e 's/i[345]86/$(DefaultIntelArch)/'`
+
build:
./configure --prefix=/usr --with-pop=yes \
- --with-x=yes --with-x-toolkit=lucid i486-debian-linux
+ --with-x=yes --with-x-toolkit=lucid $(ArchName)-debian-linux
# We install all of Emacs under /usr/lib/emacs, because Debian
# GNU/Linux does not include `/com', `/usr/libexec', or `/usr/share',
# which is where Emacs 19.29 and above appear to install files.
@@ -53,7 +58,7 @@
chmod g-s debian-tmp
install -d -g root -m 755 -o root debian-tmp/DEBIAN
install -d -g root -m 755 -o root \
- debian-tmp/usr/lib/emacs/19.30/i486-debian-linux
+ debian-tmp/usr/lib/emacs/19.30/$(ArchName)-debian-linux
make install INSTALL_PROGRAM="install -s" \
prefix=$(dir)/debian-tmp/usr \
datadir=$(dir)/debian-tmp/usr/lib \
@@ -63,13 +68,13 @@
chown -R root.root debian-tmp
make -f debian.rules binary-el
chgrp mail \
- debian-tmp/usr/lib/emacs/19.30/i486-debian-linux/movemail
+ debian-tmp/usr/lib/emacs/19.30/$(ArchName)-debian-linux/movemail
chmod g+s \
- debian-tmp/usr/lib/emacs/19.30/i486-debian-linux/movemail
+ debian-tmp/usr/lib/emacs/19.30/$(ArchName)-debian-linux/movemail
# movemail is installed setuid so that POP can work. (This is
# safe.)
chmod u+s \
- debian-tmp/usr/lib/emacs/19.30/i486-debian-linux/movemail
+ debian-tmp/usr/lib/emacs/19.30/$(ArchName)-debian-linux/movemail
chmod -t debian-tmp/usr/bin/emacs
chmod 777 debian-tmp/var/lib/emacs/lock
( cd debian-tmp/usr/lib/emacs/site-lisp ; \
--
Juergen Menden | Disclaimer: The opinions expressed by me,
tel: +49 (89) 2051 - 2387 +-----------+ are (usually) not the opinions
e-mail: menden@informatik.tu-muenchen.de | of anyone else on this planet.
Hi! I'm a .signature virus! Add me to your .signature and join in the fun!
Reply to: