pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pinentry Fixed the set of installed files whe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bf031950264c
branches: trunk
changeset: 514721:bf031950264c
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jun 17 13:46:34 2006 +0000
description:
Fixed the set of installed files when the "qt" or "gtk" options are
selected. Fixed pkglint warnings. Bumped PKGREVISION.
diffstat:
security/pinentry/Makefile | 29 ++++-------------------------
security/pinentry/buildlink3.mk | 4 ++--
security/pinentry/options.mk | 31 +++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 27 deletions(-)
diffs (100 lines):
diff -r 91aa7554953e -r bf031950264c security/pinentry/Makefile
--- a/security/pinentry/Makefile Sat Jun 17 12:33:52 2006 +0000
+++ b/security/pinentry/Makefile Sat Jun 17 13:46:34 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/04/17 13:46:47 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2006/06/17 13:46:34 rillig Exp $
#
DISTNAME= pinentry-0.7.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
@@ -13,30 +13,9 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
-INFO_FILES= # PLIST
-
-# XXX This usage of bsd.options.mk is wrong and has to be fixed. The
-# package has to be splitted into different packages, such as pinentry-gtk
-# and pinentry-qt, so that the frontends can be built on their own and
-# can be distributed in different binary packages.
-PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry
-PKG_SUPPORTED_OPTIONS= gtk qt
-.include "../../mk/bsd.options.mk"
+INFO_FILES= yes
-.if !empty(PKG_OPTIONS:Mgtk)
-PLIST_SUBST+= USE_GTK=
-. include "../../x11/gtk/buildlink3.mk"
-.else
-PLIST_SUBST+= USE_GTK='@comment '
-.endif
-
-.if !empty(PKG_OPTIONS:Mqt)
-USE_TOOLS+= gmake
-PLIST_SUBST+= USE_QT=
-. include "../../x11/qt3-libs/buildlink3.mk"
-.else
-PLIST_SUBST+= USE_QT='@comment '
-.endif
+.include "options.mk"
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
diff -r 91aa7554953e -r bf031950264c security/pinentry/buildlink3.mk
--- a/security/pinentry/buildlink3.mk Sat Jun 17 12:33:52 2006 +0000
+++ b/security/pinentry/buildlink3.mk Sat Jun 17 13:46:34 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/04/12 10:27:34 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/06/17 13:46:34 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PINENTRY_BUILDLINK3_MK:= ${PINENTRY_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@
.if !empty(PINENTRY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pinentry+= pinentry>=0.7.1
-BUILDLINK_ABI_DEPENDS.pinentry?= pinentry>=0.7.1nb3
+BUILDLINK_ABI_DEPENDS.pinentry+= pinentry>=0.7.1nb3
BUILDLINK_PKGSRCDIR.pinentry?= ../../security/pinentry
.endif # PINENTRY_BUILDLINK3_MK
diff -r 91aa7554953e -r bf031950264c security/pinentry/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pinentry/options.mk Sat Jun 17 13:46:34 2006 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: options.mk,v 1.1 2006/06/17 13:46:34 rillig Exp $
+#
+
+# XXX This usage of bsd.options.mk is wrong and has to be fixed. The
+# package has to be splitted into different packages, such as pinentry-gtk
+# and pinentry-qt, so that the frontends can be built on their own and
+# can be distributed in different binary packages.
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry
+PKG_SUPPORTED_OPTIONS= gtk qt
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk)
+CONFIGURE_ARGS+= --enable-pinentry-gtk
+PLIST_SUBST+= USE_GTK=
+. include "../../x11/gtk/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pinentry-gtk
+PLIST_SUBST+= USE_GTK='@comment '
+.endif
+
+.if !empty(PKG_OPTIONS:Mqt)
+USE_LANGUAGES+= c c++
+USE_TOOLS+= gmake
+CONFIGURE_ARGS+= --enable-pinentry-qt
+PLIST_SUBST+= USE_QT=
+. include "../../x11/qt3-libs/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pinentry-qt
+PLIST_SUBST+= USE_QT='@comment '
+.endif
Home |
Main Index |
Thread Index |
Old Index