pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel Move the massaging of hot-backup.py and tweak-lo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c65f9ab4415c
branches:  trunk
changeset: 464346:c65f9ab4415c
user:      epg <epg%pkgsrc.org@localhost>
date:      Sun Dec 07 01:21:03 2003 +0000

description:
Move the massaging of hot-backup.py and tweak-log.cgi from a
pre-configure target in subversion/Makefile.common to a post-patch
target in subversion-base/Makefile.

diffstat:

 devel/subversion-base/Makefile   |  14 +++++++++++++-
 devel/subversion/Makefile.common |  14 +-------------
 2 files changed, 14 insertions(+), 14 deletions(-)

diffs (53 lines):

diff -r 269866fe8274 -r c65f9ab4415c devel/subversion-base/Makefile
--- a/devel/subversion-base/Makefile    Sun Dec 07 01:06:05 2003 +0000
+++ b/devel/subversion-base/Makefile    Sun Dec 07 01:21:03 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/12/06 03:01:58 epg Exp $
+# $NetBSD: Makefile,v 1.9 2003/12/07 01:21:03 epg Exp $
 
 PKGNAME=       subversion-base-${SVNVER}
 COMMENT=       Version control system, base programs and libraries
@@ -7,6 +7,18 @@
 
 .include "../subversion/Makefile.common"
 
+post-patch:
+       ${SED} -e 's|@BUILDLINK_PREFIX.db4@|${BUILDLINK_PREFIX.db4}|g' \
+               < ${WRKSRC}/tools/backup/hot-backup.py.in \
+               > ${WRKSRC}/tools/backup/hot-backup.py.in.new
+       ${MV} ${WRKSRC}/tools/backup/hot-backup.py.in.new \
+               ${WRKSRC}/tools/backup/hot-backup.py.in
+       ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+               < ${WRKSRC}/contrib/cgi/tweak-log.cgi \
+               > ${WRKSRC}/contrib/cgi/tweak-log.cgi.new
+       ${MV} ${WRKSRC}/contrib/cgi/tweak-log.cgi.new \
+               ${WRKSRC}/contrib/cgi/tweak-log.cgi
+
 post-install:
        ${INSTALL_DATA_DIR} ${SVNDOC}
        ${INSTALL_DATA} ${WRKSRC}/INSTALL ${SVNDOC}
diff -r 269866fe8274 -r c65f9ab4415c devel/subversion/Makefile.common
--- a/devel/subversion/Makefile.common  Sun Dec 07 01:06:05 2003 +0000
+++ b/devel/subversion/Makefile.common  Sun Dec 07 01:21:03 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2003/12/07 01:06:05 epg Exp $
+# $NetBSD: Makefile.common,v 1.10 2003/12/07 01:21:03 epg Exp $
 
 DISTNAME=              subversion-${SVNVER}
 CATEGORIES=            devel
@@ -25,15 +25,3 @@
 CONFIGURE_ARGS+=       --with-apr-util=${BUILDLINK_PREFIX.apr}
 CONFIGURE_ARGS+=       --with-neon=${BUILDLINK_PREFIX.neon}
 CONFIGURE_ARGS+=       --with-ssl
-
-pre-configure:
-       ${SED} -e 's|@BUILDLINK_PREFIX.db4@|${BUILDLINK_PREFIX.db4}|g' \
-               < ${WRKSRC}/tools/backup/hot-backup.py.in \
-               > ${WRKSRC}/tools/backup/hot-backup.py.in.new
-       ${MV} ${WRKSRC}/tools/backup/hot-backup.py.in.new \
-               ${WRKSRC}/tools/backup/hot-backup.py.in
-       ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-               < ${WRKSRC}/contrib/cgi/tweak-log.cgi \
-               > ${WRKSRC}/contrib/cgi/tweak-log.cgi.new
-       ${MV} ${WRKSRC}/contrib/cgi/tweak-log.cgi.new \
-               ${WRKSRC}/contrib/cgi/tweak-log.cgi



Home | Main Index | Thread Index | Old Index