pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pcl-cvs Build only when the user explicitly choo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed6ab37a421c
branches:  trunk
changeset: 509528:ed6ab37a421c
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Sat Mar 11 06:25:46 2006 +0000

description:
Build only when the user explicitly chooses emacs20, otherwise skip.

diffstat:

 devel/pcl-cvs/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 4057104a7f8c -r ed6ab37a421c devel/pcl-cvs/Makefile
--- a/devel/pcl-cvs/Makefile    Sat Mar 11 06:23:20 2006 +0000
+++ b/devel/pcl-cvs/Makefile    Sat Mar 11 06:25:46 2006 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index