diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2006-03-11 06:25:46 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2006-03-11 06:25:46 +0000 |
commit | 1ba9853e0ac26c7f806c6d04777d850ecaf0371b (patch) | |
tree | 6243cce46cfe56ff7714fc7466869e97b6d7d682 /devel/pcl-cvs/Makefile | |
parent | 9062d0597143ec6e76aef0b94834be0325ea9215 (diff) | |
download | pkgsrc-1ba9853e0ac26c7f806c6d04777d850ecaf0371b.tar.gz |
Build only when the user explicitly chooses emacs20, otherwise skip.
Diffstat (limited to 'devel/pcl-cvs/Makefile')
-rw-r--r-- | devel/pcl-cvs/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/pcl-cvs/Makefile b/devel/pcl-cvs/Makefile index d9e9674940a..d7f0e513569 100644 --- a/devel/pcl-cvs/Makefile +++ b/devel/pcl-cvs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:26 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2006/03/11 06:25:46 uebayasi Exp $ # DISTNAME= pcl-cvs-2.9.9 @@ -20,6 +20,10 @@ EMACS_VERSIONS_ACCEPTED= emacs20 .include "../../mk/emacs.mk" +.if !(("${EMACS_FLAVOR}" == "emacs") && ("${EMACS_VERSION_MAJOR}" == "20")) +PKG_SKIP_REASON+= "${PKGNAME} is only for emacs20" +.endif + MAKE_ENV+= PREFIX=${PREFIX:Q} BUILD_TARGET= default INFO_FILES= pcl-cvs.info |