summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-07-06 00:10:57 +0000
committerxtraeme <xtraeme>2004-07-06 00:10:57 +0000
commit73702b49dbe8abd75c3db9febe2f1c859517d75a (patch)
treeef8fc09069124f68384e27d744540ea9ed2415d5
parent542beaf5a0aeab3e7907527d614fea3f28930012 (diff)
downloadpkgsrc-73702b49dbe8abd75c3db9febe2f1c859517d75a.tar.gz
Simplify pre-configure target, fix a typo in a comment and remove the
option --enable-debug (which was disabled).
-rw-r--r--chat/jabberd2/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/chat/jabberd2/Makefile b/chat/jabberd2/Makefile
index 37e50d5f46f..dfc4a809d72 100644
--- a/chat/jabberd2/Makefile
+++ b/chat/jabberd2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/06/26 11:21:46 abs Exp $
+# $NetBSD: Makefile,v 1.5 2004/07/06 00:10:57 xtraeme Exp $
#
DISTNAME= jabberd-2.0s2
@@ -28,7 +28,6 @@ SUBST_SED.path= -e "s,/usr/local,${PREFIX},g" \
-e "s,\$sysconfdir/jabberd,\$sysconfdir,g"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-#CONFIGURE_ARGS+= --enable-debug
REPLACE_PERL= tools/pipe-auth.pl
@@ -41,7 +40,7 @@ BUILD_DEFS+= JABBERD_USER JABBERD_STATIC \
# This specify the actual method which will be used for authenticate
# the users/accounts.
#
-# JABBERD_AUTH_METHOD has 4 available options:
+# JABBERD_AUTH_METHOD has 5 available options:
#
# db (by default)
# mysql (MySQL)
@@ -147,7 +146,7 @@ post-extract:
.undef f
pre-configure:
-.for f in ${FILES}
+.for f in ${FILES} jabberd.cfg
@${SED} \
-e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
-e "s|@PIDDIR@|${JABBERD_PIDDIR}|g" \
@@ -158,10 +157,6 @@ pre-configure:
${WRKSRC}/etc/${f}.in > ${WRKSRC}/etc/${f}
.endfor
.undef f
- @${SED} \
- -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
- -e "s|@BINDIR@|${PREFIX}/bin|g " \
- ${WRKSRC}/etc/jabberd.cfg.in > ${WRKSRC}/etc/jabberd.cfg
post-install:
${INSTALL_DATA_DIR} ${EGDIR}