1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/tools/networking/dhcp/no-mkdir-var-run.patch
Ludovic Courtès c02aea1925 ISC DHCP: Add a proper wrapper for dhclient-script' so that it finds hostname'
and friends; add a patch so that "make install" doesn't try to
"mkdir /var/run"; add `meta' attribute.

svn path=/nixpkgs/trunk/; revision=11123
2008-03-14 13:40:32 +00:00

23 lines
924 B
Diff

--- dhcp-3.0.6/client/Makefile.dist 2008-03-14 14:36:04.000000000 +0100
+++ dhcp-3.0.6/client/Makefile.dist 2008-03-14 14:36:06.000000000 +0100
@@ -38,7 +38,7 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUD
all: $(PROG) $(CATMANPAGES)
install: all
- for dir in $(CLIENTBINDIR) $(ETC) $(FFMANDIR) $(ADMMANDIR) $(VARDB); \
+ for dir in $(CLIENTBINDIR) $(ETC) $(FFMANDIR) $(ADMMANDIR); \
do \
foo=""; \
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
--- dhcp-3.0.6/server/Makefile.dist 2008-03-14 14:37:05.000000000 +0100
+++ dhcp-3.0.6/server/Makefile.dist 2008-03-14 14:37:13.000000000 +0100
@@ -38,7 +38,7 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUD
all: $(PROG) $(CATMANPAGES)
install: all
- for dir in $(BINDIR) $(ADMMANDIR) $(FFMANDIR) $(VARDB); do \
+ for dir in $(BINDIR) $(ADMMANDIR) $(FFMANDIR); do \
foo=""; \
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
foo=$${foo}/$$bar; \