File: 10amd64-rdev.dpatch

package info (click to toggle)
util-linux 2.12r-19etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 8,932 kB
  • ctags: 5,101
  • sloc: ansic: 46,134; sh: 8,074; makefile: 1,111; perl: 86; csh: 62; sed: 55
file content (19 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10-amd64-rdev.dpatch by Frederik Schler <fschueler@gmx.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: hacking "architecture detection" to get rdev on amd64 too.

@DPATCH@
diff -urN ../tmp-orig/util-linux-2.12r/sys-utils/Makefile ./sys-utils/Makefile
--- ../tmp-orig/util-linux-2.12r/sys-utils/Makefile	2004-11-15 17:47:47.000000000 +0000
+++ ./sys-utils/Makefile	2006-11-03 09:05:30.000000000 +0000
@@ -37,7 +37,7 @@
 endif
 endif
 
-ifeq "$(ARCH)" "intel"
+ifneq (,findstring("$(ARCH)",intel x86_64))
 MAN8:=$(MAN8) rdev.8 ramsize.8 rootflags.8 vidmode.8
 USRSBIN:=$(USRSBIN) rdev
 endif