31 lines
914 B
Plaintext
31 lines
914 B
Plaintext
$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@
|