summaryrefslogtreecommitdiffstats
path: root/patches/bing_src-1.1.3
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-12-08 12:33:39 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-12-08 12:33:39 +0000
commit2824d8de31af0ea2567297f9468f1c6a58b82f9c (patch)
tree5dcdfb2f6372714b25929013319c5b1a98b8b0de /patches/bing_src-1.1.3
parentc21fe3e5871c010c532edb840b37d49da5bba122 (diff)
downloadptxdist-2824d8de31af0ea2567297f9468f1c6a58b82f9c.tar.gz
ptxdist-2824d8de31af0ea2567297f9468f1c6a58b82f9c.tar.xz
* adapt_makefile_for_linux.diff:
fix user/group man issue git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9199 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/bing_src-1.1.3')
-rw-r--r--patches/bing_src-1.1.3/generic/adapt_makefile_for_linux.diff24
1 files changed, 16 insertions, 8 deletions
diff --git a/patches/bing_src-1.1.3/generic/adapt_makefile_for_linux.diff b/patches/bing_src-1.1.3/generic/adapt_makefile_for_linux.diff
index 87d980747..e2198449f 100644
--- a/patches/bing_src-1.1.3/generic/adapt_makefile_for_linux.diff
+++ b/patches/bing_src-1.1.3/generic/adapt_makefile_for_linux.diff
@@ -4,10 +4,10 @@ Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
# 20081124: wsa: there is no upstream anymore :(
- Makefile | 12 +++++-----
- 1 file changed, 6 insertions(+), 6 deletions(-)
+ Makefile | 16 ++++++++--------
+ 1 file changed, 8 insertions(+), 8 deletions(-)
-Index: platform-phyCORE-MPC5200B-IO/build-target/bing_src-1.1.3/Makefile
+Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -18,13 +18,13 @@ Index: platform-phyCORE-MPC5200B-IO/build-target/bing_src-1.1.3/Makefile
-BINDIR=/usr/local/bin
-MANDIR=/usr/local/man
-
-+PREFIX ?= /usr/local
-+BINDIR = $(PREFIX)/bin
++PREFIX ?= /usr
++BINDIR = $(PREFIX)/sbin
+MANDIR = $(PREFIX)/man
##########
#
-@@ -21,7 +21,7 @@
+@@ -21,7 +21,7 @@ MANDIR=/usr/local/man
# Uncomment if you need the 4.4 BSD compatibility includes.
# -> required on Linux (and Win32)
@@ -33,7 +33,7 @@ Index: platform-phyCORE-MPC5200B-IO/build-target/bing_src-1.1.3/Makefile
# Maybe specify some specific compatibility options
# -> on AIX activate the BSD mode
-@@ -37,7 +37,7 @@
+@@ -37,7 +37,7 @@ MANDIR=/usr/local/man
# Define to use srandom/random rather than srand/rand
# -> required on SunOS 4.1.3, SunOS 5, AIX 2 (BOSX 2 really), OSF1 V2.0
@@ -42,7 +42,7 @@ Index: platform-phyCORE-MPC5200B-IO/build-target/bing_src-1.1.3/Makefile
# Define if you lack strerror()
#NO_STRERROR = -DNO_STRERROR=1
-@@ -47,7 +47,7 @@
+@@ -47,7 +47,7 @@ NO_SNPRINTF = -DNO_SNPRINTF=1
# -> if you want to debug bing define
#COPTIM = -g
# -> on Linux, SunOS 4 and OSF1 V2.0 you may specify
@@ -51,3 +51,11 @@ Index: platform-phyCORE-MPC5200B-IO/build-target/bing_src-1.1.3/Makefile
# -> on Solaris you may use
#COPTIM = -O
# on some hosts like AIX, HP-UX the optimisation options are already set
+@@ -109,5 +109,5 @@ clean:
+ $(RM) -f bing bing.ps bing.0 $(OBJS)
+
+ install: bing unix/bing.8
+- $(INSTALL) -m 644 -o man -g man unix/bing.8 $(MANDIR)/man8
+- $(INSTALL) -m 4555 -o root -g staff bing $(BINDIR)
++ $(INSTALL) -m 644 unix/bing.8 $(MANDIR)/man8
++ $(INSTALL) -m 4555 -o root bing $(BINDIR)