PTXdist can cope better with that now.

Signed-off-by: Wolfram Sang <[email protected]>
---
 patches/fbgrab-1.0/fbgrab-1.0-crosscompile.diff |   17 +++++++++--------
 rules/fbgrab.make                               |    1 -
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/patches/fbgrab-1.0/fbgrab-1.0-crosscompile.diff 
b/patches/fbgrab-1.0/fbgrab-1.0-crosscompile.diff
index 6f193c0..d85f71e 100644
--- a/patches/fbgrab-1.0/fbgrab-1.0-crosscompile.diff
+++ b/patches/fbgrab-1.0/fbgrab-1.0-crosscompile.diff
@@ -2,18 +2,20 @@ From: Roland Hostettler <[email protected]>
 Subject: [patch] make makefile cross compilation aware
 
 The upstream makefile is not usable for cross compilation.
+[wsa] Simplified 'strip' support
 
 Signed-off-by: Robert Schwebel <[email protected]>
+Signed-off-by: Wolfram Sang <[email protected]>
 
 ---
- Makefile |   11 +++++------
- 1 file changed, 5 insertions(+), 6 deletions(-)
+ Makefile |   10 ++++------
+ 1 file changed, 4 insertions(+), 6 deletions(-)
 
-Index: fbgrab-1.0/Makefile
+Index: Makefile
 ===================================================================
---- fbgrab-1.0.orig/Makefile
-+++ fbgrab-1.0/Makefile
-@@ -4,13 +4,13 @@
+--- a/Makefile.orig
++++ b/Makefile
+@@ -4,13 +4,12 @@
  ###
  
  fbgrab: fbgrab.c
@@ -26,8 +28,7 @@ Index: fbgrab-1.0/Makefile
 -      strip fbgrab
 -      install fbgrab /usr/bin/fbgrab
 -      install fbgrab.1.man /usr/man/man1/fbgrab.1
-+      ${STRIP} fbgrab
-+      install fbgrab ${DESTDIR}/usr/bin/fbgrab
++      install -s fbgrab ${DESTDIR}/usr/bin/fbgrab
 +      install fbgrab.1.man ${DESTDIR}/usr/man/man1/fbgrab.1
  
  clean:
diff --git a/rules/fbgrab.make b/rules/fbgrab.make
index 1ef5cc7..b378cdd 100644
--- a/rules/fbgrab.make
+++ b/rules/fbgrab.make
@@ -77,7 +77,6 @@ $(STATEDIR)/fbgrab.prepare: $(fbgrab_prepare_deps_default)
 
 FBGRAB_MAKEVARS = \
        CC=$(COMPILER_PREFIX)gcc \
-       STRIP=$(COMPILER_PREFIX)strip \
        LDFLAGS='`pkg-config --libs libpng` `pkg-config --libs libz` 
$(CROSS_LDFLAGS)'
 
 fbgrab_compile: $(STATEDIR)/fbgrab.compile
-- 
1.6.5


--
ptxdist mailing list
[email protected]

Reply via email to