~ubuntu-branches/ubuntu/precise/numactl/precise

« back to all changes in this revision

Viewing changes to debian/patches/lib64.diff

  • Committer: Bazaar Package Importer
  • Author(s): Ian Wienand
  • Date: 2005-11-25 17:04:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051125170425-y3iqafzyzk5odrzh
Tags: 0.7pre2-5
* patches/man-section.diff : fix up man sections to stop lintian
* move .so out of non-dev package
* don't autogenerate control file; done by external scripts now

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 \