pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/zsh-current Add support for pcre to options.mk ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/db717cf4089d
branches: trunk
changeset: 535070:db717cf4089d
user: bjs <bjs%pkgsrc.org@localhost>
date: Wed Nov 07 09:59:27 2007 +0000
description:
Add support for pcre to options.mk if ZSH_STATIC is undefined. Bump rev.
diffstat:
shells/zsh-current/Makefile | 4 +++-
shells/zsh-current/options.mk | 13 ++++++++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r d3765da9e6a2 -r db717cf4089d shells/zsh-current/Makefile
--- a/shells/zsh-current/Makefile Wed Nov 07 09:56:05 2007 +0000
+++ b/shells/zsh-current/Makefile Wed Nov 07 09:59:27 2007 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2007/10/01 04:16:07 uebayasi Exp $
+# $NetBSD: Makefile,v 1.13 2007/11/07 09:59:27 bjs Exp $
.include "../../shells/zsh/Makefile.common"
+PKGREVISION= 1
+
ZSH_VERSION= 4.3.4
ZSH_MAINTAINER= uebayasi%NetBSD.org@localhost
diff -r d3765da9e6a2 -r db717cf4089d shells/zsh-current/options.mk
--- a/shells/zsh-current/options.mk Wed Nov 07 09:56:05 2007 +0000
+++ b/shells/zsh-current/options.mk Wed Nov 07 09:59:27 2007 +0000
@@ -1,11 +1,22 @@
-# $NetBSD: options.mk,v 1.1 2006/03/11 13:20:15 uebayasi Exp $
+# $NetBSD: options.mk,v 1.2 2007/11/07 09:59:27 bjs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.zsh
PKG_SUPPORTED_OPTIONS= zsh-multibyte
PKG_SUGGESTED_OPTIONS=
+.if !defined(ZSH_STATIC)
+PKG_SUPPORTED_OPTIONS+= pcre
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mzsh-multibyte)
CONFIGURE_ARGS+= --enable-multibyte
.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+PCRE_CONFIG= ${BUILDLINK_PREFIX.pcre}/bin/pcre-config
+CONFIGURE_ARGS+= --with-pcre
+CONFIGURE_ENV+= PCRE_CONFIG=${PCRE_CONFIG:Q}
+. include "../../devel/pcre/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index