aboutsummaryrefslogtreecommitdiffstats
path: root/security/racoon2/files/patch-ab
blob: e5fb29c03f600ac001ba28a27d607591050061a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.in.orig    Fri Sep 27 07:04:59 2002
+++ Makefile.in Thu Nov 21 22:28:50 2002
@@ -7,7 +7,7 @@
 LDFLAGS=@LDFLAGS@
 CPPFLAGS=  @CPPFLAGS@
 OPTFLAG=@OPTFLAG@
-CFLAGS=    @CFLAGS@ $(CPPFLAGS) @DEFS@ $(CPPFLAGS) $(OPTFLAG) -DIPSEC -I. -I$(srcdir) -DSYSCONFDIR=\"${sysconfdir}\"
+CFLAGS=    @CFLAGS@ $(CPPFLAGS) @DEFS@ $(CPPFLAGS) $(OPTFLAG) -DIPSEC -I. -I$(srcdir) -DSYSCONFDIR=\"${sysconfdir}/racoon\"
 CFLAGS+=-DYY_NO_UNPUT
 CFLAGS+=-I${srcdir}/../libipsec
 LIBS=  @LIBS@
@@ -88,10 +88,6 @@
    $(INSTALL) -o bin -g bin -m 444 racoon.conf.5 $(mandir)/man5
    -mkdir -p ${sysconfdir}/racoon
    for i in $(CONF); do \
-       if test ! -f ${sysconfdir}/racoon/$$i; then \
-           $(INSTALL) -o bin -g bin -m 444 samples/$$i \
-               ${sysconfdir}/racoon; \
-       fi; \
        $(INSTALL) -o bin -g bin -m 444 samples/$$i \
            ${sysconfdir}/racoon/$$i.dist; \
    done