summaryrefslogtreecommitdiff
path: root/net/tspc2/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tspc2/files/patch-Makefile')
-rw-r--r--net/tspc2/files/patch-Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/tspc2/files/patch-Makefile b/net/tspc2/files/patch-Makefile
new file mode 100644
index 000000000000..b28d79120589
--- /dev/null
+++ b/net/tspc2/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.old Wed Jul 14 21:08:03 2004
++++ Makefile Mon Jul 11 16:41:46 2005
+@@ -71,13 +71,14 @@
+
+ @mkdir -p $(install_bin)
+ @$(COPY) bin/$(TSPC) $(install_bin)
+- @$(COPY) bin/tspc.conf.sample $(install_bin)
+
+- @if [ ! -f $(install_bin)/tspc.conf ]; then \
+- $(COPY) $(install_bin)/tspc.conf.sample $(install_bin)/tspc.conf; \
++ @mkdir -p $(installdir)/etc
++ @$(COPY) bin/tspc.conf.sample $(installdir)/etc
++
++ @if [ ! -f $(installdir)/etc/tspc.conf ]; then \
++ $(COPY) $(installdir)/etc/tspc.conf.sample $(installdir)/etc/tspc.conf; \
+ fi
+
+- @$(COPY) GPL_LICENSE.txt $(installdir)
+
+ clean: pre-checks
+ @for dir in ${subdirs}; do \