summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2006-03-11 06:25:46 +0000
committeruebayasi <uebayasi>2006-03-11 06:25:46 +0000
commite9fa7efa92fca671b728984965f08c43a6125952 (patch)
tree6243cce46cfe56ff7714fc7466869e97b6d7d682 /devel
parenta94017e9008625cefba83a1fd8d024debaf58992 (diff)
downloadpkgsrc-e9fa7efa92fca671b728984965f08c43a6125952.tar.gz
Build only when the user explicitly chooses emacs20, otherwise skip.
Diffstat (limited to 'devel')
-rw-r--r--devel/pcl-cvs/Makefile6
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