$NetBSD: patch-ab,v 1.2 2005/11/13 22:40:00 adrianp Exp $

--- modules/Makefile.in.orig	2005-07-31 19:03:33.000000000 +0100
+++ modules/Makefile.in
@@ -23,7 +23,7 @@ IRCDLIBS        = @LIBS@ $(SSL_LIBS)
 
 prefix          = $(DESTDIR)@prefix@
 # Change this later! -- adrian
-moduledir       = ${prefix}/modules
+moduledir       = ${prefix}/lib/ircd-hybrid/modules
 automoduledir   = ${moduledir}/autoload
 
 INCLUDES	= -I../include $(SSL_INCLUDES)
@@ -127,16 +127,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@
