diff options
author | jmmv <jmmv@pkgsrc.org> | 2011-04-23 21:26:40 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2011-04-23 21:26:40 +0000 |
commit | f80d987338bbddddf26023b904f404ce22de66ad (patch) | |
tree | c21f311ea25a2ae421dfe0c48f50941cab6f0664 | |
parent | 843595bfdca92ed2a2ad73a8658eb7216b2c57f7 (diff) | |
download | pkgsrc-f80d987338bbddddf26023b904f404ce22de66ad.tar.gz |
Fix the interpreter to mtn-cleanup by introducing a run-time dependency on
perl. I'm not sure there is a better way to fix this since mtn-cleanup is
installed into ${PREFIX}/bin/.
Also skip the interpreter check for some helper files that are not used by
default. These may be put in separate packages but we can do this later;
for now I'm just adding a comment mentioning the idea.
Bump PKGREVISION to 2.
-rw-r--r-- | devel/monotone/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile index f7224e3ad29..5a145b881d7 100644 --- a/devel/monotone/Makefile +++ b/devel/monotone/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.69 2011/04/22 13:43:21 obache Exp $ +# $NetBSD: Makefile,v 1.70 2011/04/23 21:26:40 jmmv Exp $ # DISTNAME= monotone-1.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel scm MASTER_SITES= http://monotone.ca/downloads/1.0/ EXTRACT_SUFX= .tar.bz2 @@ -19,7 +19,7 @@ INFO_FILES= yes LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer TEST_TARGET= check UNLIMIT_RESOURCES+= datasize -USE_TOOLS+= gmake makeinfo pax perl pkg-config +USE_TOOLS+= gmake makeinfo pax perl:run pkg-config USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes @@ -33,7 +33,13 @@ PKG_SUPPORTED_OPTIONS= inet6 CHECK_INTERPRETER_SKIP+= share/monotone/contrib/* CHECK_PORTABILITY_SKIP+= debian/* +REPLACE_PERL= extra/bin/mtn-cleanup REPLACE_SH= mtnopt +# The following are optional scripts for hooks. We do not replace their +# interpreter because we want to avoid a dependency on them. (Ideally they +# should be in separate packages with appropriate dependencies.) +CHECK_INTERPRETER_SKIP= share/monotone/scripts/monotone-ciabot.py +CHECK_INTERPRETER_SKIP+= share/monotone/scripts/monotone-mail-notify .include "../../mk/bsd.options.mk" |