summaryrefslogtreecommitdiff
path: root/chat/ircd-hybrid/patches/patch-ab
blob: 839cb11023e8e8e8fe76ebe1c5802c990411b045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ab,v 1.4 2006/08/11 16:53:39 adrianp Exp $

--- modules/Makefile.in.orig	2006-07-17 07:31:35.000000000 +0100
+++ modules/Makefile.in
@@ -24,7 +24,7 @@ IRCDLIBS        = @LIBS@ $(SSL_LIBS)
 prefix          = $(DESTDIR)@prefix@
 datarootdir	= $(DESTDIR)@datarootdir@
 # Change this later! -- adrian
-moduledir       = ${prefix}/modules
+moduledir       = ${prefix}/lib/ircd-hybrid/modules
 automoduledir   = ${moduledir}/autoload
 
 INCLUDES	= -I../include -I../lib/pcre $(SSL_INCLUDES)
@@ -135,16 +135,6 @@ libmodules.a: $(S_OBJS)
 
 install-mkdirs:
 	mkdir -p $(prefix)
-
-	-@if test -d $(moduledir)-old; then \
-		echo "${RM} -rf $(moduledir)-old"; \
-		${RM} -rf $(moduledir)-old; \
-	fi
-	-@if test -d $(moduledir); then \
-		echo "${MV} $(moduledir) $(moduledir)-old"; \
-		${MV} $(moduledir) $(moduledir)-old; \
-	fi
-
 	mkdir -p $(moduledir) $(automoduledir)
 	
 install: install_@MOD_TARGET@