freebsd-ports/net/yate/files/patch-conf.d__Makefile.in
Bartek Rutkowski c318444fe1 net/yate: update 5.4.0 -> 5.5.0
- Delete obsolete patches

PR:		203008
Submitted by:	Nikola Kolev <koue@chaosophia.net> (maintainer)
2015-10-06 08:08:59 +00:00

19 lines
710 B
Text

--- conf.d/Makefile.in.orig 2009-09-19 13:55:58 UTC
+++ conf.d/Makefile.in
@@ -20,14 +20,14 @@ install:
lst="`ls -1 @srcdir@/*.conf @srcdir@/*.sample @srcdir@/*.default 2>/dev/null | sed 's/\.sample//g; s/\.default//g; s/[^ ]*\*\.[^ ]*//g' | sort | uniq`" ; \
for s in $$lst; do \
d="$(DESTDIR)$(confdir)/`echo $$s | sed 's,.*/,,'`" ; \
- if [ -f "$$d" ]; then \
+ if [ -f "$$d".sample ]; then \
echo "Not overwriting existing $$d" ; \
else \
if [ ! -f "$$s" ]; then \
test -f "$$s.default" && s="$$s.default" ; \
test -f "$$s.sample" && s="$$s.sample" ; \
fi ; \
- install -m 0644 "$$s" "$$d" ; \
+ install -m 0644 "$$s" "$$d".sample ; \
fi ; \
done