]> git.pld-linux.org Git - packages/dhcpv6.git/commitdiff
- for proper build
authordarekr <darekr@pld-linux.org>
Tue, 20 Sep 2005 09:02:10 +0000 (09:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcpv6-Makefile.patch -> 1.1

dhcpv6-Makefile.patch [new file with mode: 0644]

diff --git a/dhcpv6-Makefile.patch b/dhcpv6-Makefile.patch
new file mode 100644 (file)
index 0000000..53cbf47
--- /dev/null
@@ -0,0 +1,40 @@
+--- dhcp-0.10/Makefile.in.orig 2005-09-20 10:20:14.000000000 +0200
++++ dhcp-0.10/Makefile.in      2005-09-20 10:22:25.000000000 +0200
+@@ -11,6 +11,7 @@
+ YACC= @YACC@
+ LEX=  @LEX@
+ TARGET=       dhcp6c dhcp6s
++CONFIGFILES= dhcp6c.conf dhcp6s.conf server6_addr.conf
+ DESTDIR=
+ INSTALL=@INSTALL@
+@@ -97,13 +98,14 @@
+       $(INSTALL_DATA) dhcp6s.8 $(DESTDIR)$(mandir)/man8/
+       $(INSTALL_DATA) dhcp6c.conf.5 $(DESTDIR)$(mandir)/man5/
+       $(INSTALL_DATA) dhcp6s.conf.5 $(DESTDIR)$(mandir)/man5/
+-
+-rh_install:: install
+-      $(INSTALL) -d $(initdir)
+-      $(INSTALL_PROGRAM) dhcp6s.sh $(initdir)/dhcp6s
+-      $(INSTALL_PROGRAM) dhcp6c.sh $(initdir)/dhcp6c
+-      $(CHKCONFIG) --add dhcp6s
+-      $(CHKCONFIG) --add dhcp6c
++      $(INSTALL) -d $(DESTDIR)$(sysconfigdir)
++      $(INSTALL) dhcp6c.sysconfig $(DESTDIR)$(sysconfigdir)/dhcp6c
++      $(INSTALL) dhcp6s.sysconfig $(DESTDIR)$(sysconfigdir)/dhcp6s
++      $(INSTALL) -d $(DESTDIR)$(etc)
++      $(INSTALL_PROGRAM) $(CONFIGFILES) $(DESTDIR)$(etc)
++      $(INSTALL) -d $(DESTDIR)$(initdir)
++      $(INSTALL_PROGRAM) dhcp6s.sh $(DESTDIR)$(initdir)/dhcp6s
++      $(INSTALL_PROGRAM) dhcp6c.sh $(DESTDIR)$(initdir)/dhcp6c
+ uninstall::
+       for progs in $(TARGET); do \
+@@ -114,7 +116,6 @@
+       /bin/rm -f $(mandir)/man5/dhcp6c.conf.5
+       /bin/rm -f $(mandir)/man5/dhcp6s.conf.5
+-rh_uninstall:: uninstall
+       $(CHKCONFIG) --del dhcp6s
+       $(CHKCONFIG) --del dhcp6c
+       /bin/rm -f $(initdir)/dhcp6s
This page took 0.061914 seconds and 4 git commands to generate.