summaryrefslogtreecommitdiff
path: root/x11-plugins/asmem/files/asmem-1.12-gentoo.patch
blob: 9a59ae0c7304801b3985ef33eb5871cf930d67f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- autoconf/Makefile.common.in.orig	1999-03-07 14:12:42.000000000 +0100
+++ autoconf/Makefile.common.in	2006-09-12 00:01:00.000000000 +0200
@@ -9,11 +9,10 @@
 install:	install.bin install.man
 
 install.bin:	$(PROG)
-		$(STRIP) $(PROG)
-		$(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
+		$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR)
 
 install.man:
-		$(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
+		$(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1x
 
 uninstall:
 		$(RMF) $(AFTER_BIN_DIR)/$(PROG)
--- autoconf/Makefile.defines.in.orig	2000-06-16 16:01:50.000000000 +0200
+++ autoconf/Makefile.defines.in	2006-09-12 00:01:33.000000000 +0200
@@ -2,6 +2,7 @@
 # Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca>
 #
 
+DESTDIR		=
 CC		= @CC@
 CCFLAGS         = @CFLAGS@
 # -march=pentiumpro -mcpu=pentiumpro
@@ -22,7 +23,7 @@
 INSTALL_MODE	= @INSTALL_MODE@
 
 INSTALL		= @INSTALL@
-INSTALL_PROGRAM	= @INSTALL@ -s @INSTALL_MODE@
+INSTALL_PROGRAM	= @INSTALL@ -m 755 @INSTALL_MODE@
 INSTALL_DATA	= @INSTALL@ -m 644
 
 INCS_X		= @X_CFLAGS@