summaryrefslogtreecommitdiff
path: root/mail/tmda
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-06-13 10:59:31 +0000
committerschmonz <schmonz@pkgsrc.org>2004-06-13 10:59:31 +0000
commit31bad3ac19b83bb7689c9ed0f7aa2ed54e6ea52d (patch)
treefedf783b95eb730a613dc6f576a920b7636d4992 /mail/tmda
parentf36811ed93c89c8b8824b4f96dcfe33b46953fef (diff)
downloadpkgsrc-31bad3ac19b83bb7689c9ed0f7aa2ed54e6ea52d.tar.gz
Some of the Python bytecode contains absolute paths. After
installation, the affected files are recompiled the first time tmda-ofmipd runs with sufficient permissions. Force the recompile during post-install to ensure the package tools record the right checksums.
Diffstat (limited to 'mail/tmda')
-rw-r--r--mail/tmda/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile
index e72691a1f84..2270672f5ee 100644
--- a/mail/tmda/Makefile
+++ b/mail/tmda/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/06/06 05:08:34 schmonz Exp $
+# $NetBSD: Makefile,v 1.20 2004/06/13 10:59:31 schmonz Exp $
#
DISTNAME= tmda-1.0.3
@@ -80,6 +80,9 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}/img
${INSTALL_DATA} ${WRKSRC}/htdocs/img/*.png ${PREFIX}/${HTMLDIR}/img
+post-install:
+ ${PREFIX}/bin/tmda-ofmipd -V >/dev/null 2>&1
+
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"