summaryrefslogtreecommitdiff
path: root/irc/ircd-hybrid/files/patch-src-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-hybrid/files/patch-src-Makefile')
-rw-r--r--irc/ircd-hybrid/files/patch-src-Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/irc/ircd-hybrid/files/patch-src-Makefile b/irc/ircd-hybrid/files/patch-src-Makefile
new file mode 100644
index 000000000000..45f8ac514404
--- /dev/null
+++ b/irc/ircd-hybrid/files/patch-src-Makefile
@@ -0,0 +1,33 @@
+--- src/Makefile.in.orig Wed May 28 21:02:15 2003
++++ src/Makefile.in Wed Jan 28 01:19:55 2004
+@@ -11,7 +11,7 @@
+ RM = @RM@
+ LEX = @LEX@
+ LEXLIB = @LEXLIB@
+-CFLAGS = @IRC_CFLAGS@ -DIRCD_PREFIX=\"@prefix@\"
++CFLAGS = @IRC_CFLAGS@ -DIRCD_PREFIX=\"@prefix@\" -DMODPATH=\"@moduledir@\" -DAUTOMODPATH=\"@moduledir@/autoload\"
+ LDFLAGS = @LDFLAGS@
+ MKDEP = @MKDEP@ -DIRCD_PREFIX=\"@prefix@\"
+ MV = @MV@
+@@ -23,6 +23,8 @@
+ libexecdir = @libexecdir@
+ sysconfdir = @sysconfdir@
+ localstatedir = @localstatedir@
++logsdir = @logsdir@
++moduledir = @moduledir@
+
+ DOLLAR = $$
+
+@@ -140,9 +142,9 @@
+ echo "mkdir $(sysconfdir)"; \
+ mkdir $(sysconfdir); \
+ fi
+- -@if test ! -d $(localstatedir)/logs; then \
+- echo "mkdir $(localstatedir)/logs"; \
+- mkdir $(localstatedir)/logs; \
++ -@if test ! -d $(logsdir); then \
++ echo "mkdir $(logsdir)"; \
++ mkdir $(logsdir); \
+ fi
+
+ install: install-mkdirs build