aboutsummaryrefslogtreecommitdiffstats
path: root/devel/clanlib-devel/files/patch-ah
blob: 5b00b0fe629e5cab09b8539e5bfb401b2db5ae82 (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- Makefile.in.orig    Sun Apr  9 15:17:58 2000
+++ Makefile.in Sun Sep 24 15:01:31 2000
@@ -261,43 +264,43 @@
    @install -d $(BIN_PREFIX)
    @install -d $(LIB_PREFIX)
    @for i in `find Sources/API/* -type d | grep -v CVS | sed "s/Sources\/API\///;"`; do install -d $(INC_PREFIX)/ClanLib/$$i; done
-   @for i in `find Sources/API/* -type f | grep -v CVS | sed "s/Sources\/API\///;"`; do install -m 0644 Sources/API/$$i $(INC_PREFIX)/ClanLib/$$i; done
+   @for i in `find Sources/API/* -type f | grep -v CVS | sed "s/Sources\/API\///;"`; do install -c -m 0644 Sources/API/$$i $(INC_PREFIX)/ClanLib/$$i; done
    @echo "Libraries are being installed in $(LIB_PREFIX)."
    @install Libs/libclanCore.so.$(D_VERSION_MINOR) $(LIB_PREFIX)
    @ln -s -f libclanCore.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanCore.so.$(D_VERSION_MAJOR)
    @ln -s -f libclanCore.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanCore.so
    @if [ -f Libs/libclanGL.so ]; then \
-       install Libs/libclanGL.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanGL.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanGL.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanGL.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanGL.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanGL.so; \
    fi
    @if [ -f Libs/libclanMagick.so ]; then \
-       install Libs/libclanMagick.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanMagick.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanMagick.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanMagick.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanMagick.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanMagick.so; \
    fi
    @if [ -f Libs/libclanMPEG.so ]; then \
-       install Libs/libclanMPEG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanMPEG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanMPEG.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanMPEG.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanMPEG.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanMPEG.so; \
    fi
    @if [ -f Libs/libclanLua.so ]; then \
-       install Libs/libclanLua.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanLua.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanLua.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanLua.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanLua.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanLua.so; \
    fi
    @if [ -f Libs/libclanGUI.so ]; then \
-       install Libs/libclanGUI.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanGUI.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanGUI.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanGUI.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanGUI.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanGUI.so; \
    fi
    @if [ -f Libs/libclanMikMod.so ]; then \
-       install Libs/libclanMikMod.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanMikMod.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanMikMod.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanMikMod.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanMikMod.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanMikMod.so; \
    fi
    @if [ -f Libs/libclanPNG.so ]; then \
-       install Libs/libclanPNG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
+       install -c Libs/libclanPNG.so.$(D_VERSION_MINOR) $(LIB_PREFIX); \
        ln -s -f libclanPNG.so.$(D_VERSION_MINOR) $(LIB_PREFIX)/libclanPNG.so.$(D_VERSION_MAJOR); \
        ln -s -f libclanPNG.so.$(D_VERSION_MAJOR) $(LIB_PREFIX)/libclanPNG.so; \
    fi
@@ -306,10 +309,10 @@
        install -d $(TARGET_PREFIX); \
        all_targets_var="$(ALL_TARGETS)"; \
        for curtarget in $$all_targets_var; do \
-           install $$curtarget $(TARGET_PREFIX);  \
+           install -c $$curtarget $(TARGET_PREFIX);  \
        done; \
    fi
-   @install clanlib-config $(BIN_PREFIX)
+   @install -c clanlib-config $(BIN_PREFIX)
 
    @echo ""
    @echo "Installation complete, now run 'ldconfig' as root or point the"