pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/wmbiff wmbiff: Fix build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/939d0bf4952b
branches:  trunk
changeset: 454816:939d0bf4952b
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 21 15:07:06 2021 +0000

description:
wmbiff: Fix build.

diffstat:

 mail/wmbiff/Makefile                         |   8 ++++-
 mail/wmbiff/distinfo                         |   3 +-
 mail/wmbiff/patches/patch-wmbiff_Makefile.in |  36 ++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+), 3 deletions(-)

diffs (89 lines):

diff -r 94c1176c6965 -r 939d0bf4952b mail/wmbiff/Makefile
--- a/mail/wmbiff/Makefile      Mon Jun 21 14:21:28 2021 +0000
+++ b/mail/wmbiff/Makefile      Mon Jun 21 15:07:06 2021 +0000
@@ -1,17 +1,20 @@
-# $NetBSD: Makefile,v 1.68 2021/04/21 13:24:59 adam Exp $
+# $NetBSD: Makefile,v 1.69 2021/06/21 15:07:06 nia Exp $
 
 DISTNAME=      wmbiff-0.4.26
-PKGREVISION=   33
+PKGREVISION=   34
 CATEGORIES=    mail x11 windowmaker
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=wmbiff/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://sourceforge.net/projects/wmbiff/
 COMMENT=       WindowMaker xbuffy-like "mail-checker"
+LICENSE=       gnu-gpl-v2
 
 USE_TOOLS+=    gmake
 GNU_CONFIGURE= yes
 
+CONFIGURE_ARGS+=       --disable-libgcrypttest
+
 EX_DIR=                ${PREFIX}/share/examples/wmbiff
 
 INSTALLATION_DIRS+=    ${EX_DIR}
@@ -21,6 +24,7 @@
 
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../security/gnutls/libgnutls-config.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
 .include "../../wm/windowmaker/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
diff -r 94c1176c6965 -r 939d0bf4952b mail/wmbiff/distinfo
--- a/mail/wmbiff/distinfo      Mon Jun 21 14:21:28 2021 +0000
+++ b/mail/wmbiff/distinfo      Mon Jun 21 15:07:06 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2016/10/01 13:03:10 joerg Exp $
+$NetBSD: distinfo,v 1.19 2021/06/21 15:07:06 nia Exp $
 
 SHA1 (wmbiff-0.4.26.tar.gz) = cb2fc49bc741209c22d8a50f0f164e34c4a9332d
 RMD160 (wmbiff-0.4.26.tar.gz) = f5ccb17fb6846283cb7cde7996310a65600a8883
@@ -7,4 +7,5 @@
 SHA1 (patch-aa) = 0a4607f2e5d6d3066d9b9994665b659dfbcc003b
 SHA1 (patch-ab) = d84f1c4333d7c192748f5170460563ae7fe0955d
 SHA1 (patch-ac) = 8c7da1f23d72c3530d33f1faa141d39a7a8b84da
+SHA1 (patch-wmbiff_Makefile.in) = 9e54cf21f193d02b92b934dabd9e8702a6cb05b8
 SHA1 (patch-wmbiff_gnutls-common.c) = 645e2c2f463d20cf063f4a2ab0c6268daaa0cc85
diff -r 94c1176c6965 -r 939d0bf4952b mail/wmbiff/patches/patch-wmbiff_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/wmbiff/patches/patch-wmbiff_Makefile.in      Mon Jun 21 15:07:06 2021 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-wmbiff_Makefile.in,v 1.1 2021/06/21 15:07:06 nia Exp $
+
+Avoid building test programs. They do nasty things like override
+read() and select() that conflicts with SSP.
+
+--- wmbiff/Makefile.in.orig    2004-10-11 00:34:02.000000000 +0000
++++ wmbiff/Makefile.in
+@@ -121,8 +121,8 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-TESTS = test_wmbiff test_tlscomm
+-noinst_PROGRAMS = test_wmbiff test_tlscomm
++TESTS =
++noinst_PROGRAMS =
+ bin_PROGRAMS = wmbiff
+ wmbiff_SOURCES = wmbiff.c socket.c Pop3Client.c LicqClient.c mboxClient.c \
+       maildirClient.c Imap4Client.c tlsComm.c tlsComm.h ShellClient.c  \
+@@ -154,7 +154,7 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/a
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES = wmbiffrc.5
+ bin_PROGRAMS = wmbiff$(EXEEXT)
+-noinst_PROGRAMS = test_wmbiff$(EXEEXT) test_tlscomm$(EXEEXT)
++noinst_PROGRAMS =
+ PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
+ 
+ am_test_tlscomm_OBJECTS = test_tlscomm.$(OBJEXT) tlsComm.$(OBJEXT)
+@@ -205,7 +205,7 @@ MANS = $(man_MANS)
+ DATA = $(skin_DATA)
+ 
+ DIST_COMMON = $(srcdir)/Makefile.in Makefile.am wmbiffrc.5.in
+-SOURCES = $(test_tlscomm_SOURCES) $(test_wmbiff_SOURCES) $(EXTRA_test_wmbiff_SOURCES) $(wmbiff_SOURCES) $(EXTRA_wmbiff_SOURCES)
++SOURCES = $(wmbiff_SOURCES) $(EXTRA_wmbiff_SOURCES)
+ 
+ all: all-am
+ 



Home | Main Index | Thread Index | Old Index