~dannf/ubuntu/trusty/numactl/arm64

« back to all changes in this revision

Viewing changes to debian/patches/lib64.diff

  • Committer: Bazaar Package Importer
  • Author(s): Ian Wienand
  • Date: 2006-11-03 10:31:24 UTC
  • mfrom: (1.2.1 upstream) (3.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20061103103124-9dy65897wxq3g7ku
add powerpc.patch; fix FTBFS due to typo on PowerPC

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: Makefile
2
 
===================================================================
3
 
--- Makefile    (revision 2)
4
 
+++ Makefile    (revision 7)
5
 
@@ -12,7 +12,20 @@
6
 
        test/*.c
7
 
 
8
 
 prefix := /usr
9
 
-libdir := ${prefix}$(shell if [ -d /usr/lib64 ] ; then echo "/lib64" ; else echo "/lib"  ; fi)
10
 
+
11
 
+#--- TODO: fix the assignment of libdir so it only recognizes the 64-bit
12
 
+#    arches it needs to.  The original line was:
13
 
+#
14
 
+#libdir := ${prefix}$(shell if [ -d /usr/lib64 ] ; then echo "/lib64" ; else echo "/lib"  ; fi)
15
 
+#
16
 
+# However, if one has g77 installed, you end up with a /usr/lib64 even when
17
 
+# not on a 64-bit machine (see libg2c0-dev, and bug#323285: /usr/lib64 should
18
 
+# be in a separate package).
19
 
+#
20
 
+# The line below will work in most cases, except on multi-arch machines
21
 
+#
22
 
+libdir := ${prefix}/lib
23
 
+
24
 
 docdir := ${prefix}/share/doc
25
 
 
26
 
 all: numactl libnuma.so numademo numamon memhog stream test/tshared \