~ubuntu-branches/ubuntu/vivid/aeolus/vivid

« back to all changes in this revision

Viewing changes to debian/patches/makefile.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-04-19 19:12:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100419191251-hgarjfcdfl7c0ryl
Tags: 0.8.4-3
debian/patches/01-makefile.patch: Drop -march=native flag, it isn't valid
for Debian packages as the results are unpredictable, thanks to
Bastian Blank for reporting this (Closes: #578278).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- Makefile.orig       2008-04-14 15:38:21.000000000 +0100
2
 
+++ Makefile    2008-04-14 15:38:43.000000000 +0100
3
 
@@ -14,9 +14,9 @@
4
 
 #  along with this program; if not, write to the Free Software
5
 
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
6
 
 
7
 
-
8
 
-PREFIX = /usr/local
9
 
-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
10
 
+DESTDIR=
11
 
+PREFIX = /usr
12
 
+#SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
13
 
 LIBDIR = lib$(SUFFIX)
14
 
 VERSION = 0.8.1
15
 
 DISTDIR = aeolus-$(VERSION)
16
 
@@ -64,11 +64,11 @@
17
 
 
18
 
 
19
 
 install:       aeolus aeolus_x11.so aeolus_txt.so 
20
 
-       /usr/bin/install -d $(PREFIX)/$(LIBDIR)
21
 
-       /usr/bin/install -m 755 aeolus $(PREFIX)/bin
22
 
-       /usr/bin/install -m 755 aeolus_x11.so $(PREFIX)/$(LIBDIR)
23
 
-       /usr/bin/install -m 755 aeolus_txt.so $(PREFIX)/$(LIBDIR)
24
 
-       /sbin/ldconfig $(PREFIX)/$(LIBDIR)
25
 
+       /usr/bin/install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)
26
 
+       /usr/bin/install -m 755 aeolus $(DESTDIR)$(PREFIX)/bin
27
 
+       /usr/bin/install -m 755 aeolus_x11.so $(DESTDIR)$(PREFIX)/$(LIBDIR)
28
 
+       /usr/bin/install -m 755 aeolus_txt.so $(DESTDIR)$(PREFIX)/$(LIBDIR)
29
 
+#      /sbin/ldconfig $(PREFIX)/$(LIBDIR)
30
 
 
31
 
 clean:
32
 
        /bin/rm -f *~ *.o *.d *.a *.so aeolus