From 04176896e9903ecae30fac56c9578caa03a34602 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 23 Oct 2006 07:47:15 +0000 Subject: Fixed "test ==" and a pkglint warning. --- mail/xfmail/Makefile | 3 ++- mail/xfmail/distinfo | 3 ++- mail/xfmail/patches/patch-ae | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 mail/xfmail/patches/patch-ae diff --git a/mail/xfmail/Makefile b/mail/xfmail/Makefile index 390394d0496..48d489fff65 100644 --- a/mail/xfmail/Makefile +++ b/mail/xfmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2006/05/15 22:45:38 joerg Exp $ +# $NetBSD: Makefile,v 1.40 2006/10/23 07:47:15 rillig Exp $ DISTNAME= xfmail-1.5.5 PKGREVISION= 1 @@ -16,6 +16,7 @@ NO_BIN_ON_CDROM= ${RESTRICTED} USE_X11BASE= YES USE_LANGUAGES= c c++ +USE_LIBTOOL= yes GNU_CONFIGURE= YES post-install: diff --git a/mail/xfmail/distinfo b/mail/xfmail/distinfo index 75df40fc937..b07b8956ede 100644 --- a/mail/xfmail/distinfo +++ b/mail/xfmail/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2006/02/26 13:44:18 joerg Exp $ +$NetBSD: distinfo,v 1.10 2006/10/23 07:47:15 rillig Exp $ SHA1 (xfmail-1.5.5.tar.bz2) = 7a98486d1f8cce956efaf37d9540369d5f327401 RMD160 (xfmail-1.5.5.tar.bz2) = bf3e866d6fa37b7b9959c532b1f4b82fb57eb307 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 678f14ddf5a9360d82fc09cbc296620fe8c66125 SHA1 (patch-ab) = 17de1abd320f38e38a72194531d358061cbd2eb4 SHA1 (patch-ac) = f04aad8c7d44183cf16743c31c1779b42da500a1 SHA1 (patch-ad) = 91d92fb76b5ecf9c07295b942a34628ce212ae3d +SHA1 (patch-ae) = 8d1d16f62511b78fc20c47e78eebc83dd8feac8d diff --git a/mail/xfmail/patches/patch-ae b/mail/xfmail/patches/patch-ae new file mode 100644 index 00000000000..20be953b6a9 --- /dev/null +++ b/mail/xfmail/patches/patch-ae @@ -0,0 +1,22 @@ +$NetBSD: patch-ae,v 1.3 2006/10/23 07:47:15 rillig Exp $ + +--- contrib/misc/build.sh.in.orig 2001-02-05 21:49:26.000000000 +0100 ++++ contrib/misc/build.sh.in 2006-10-23 09:40:03.000000000 +0200 +@@ -65,7 +65,7 @@ then + ERR=1 + fi + +-if [ "$ERR" == "1" ] ++if [ "$ERR" = "1" ] + then + echo "Exitting..." + exit +@@ -85,7 +85,7 @@ cd .. + $TAR cvvf $TEMPDIR/$NAME-$VERSION.tar $NAME + $GZIP $TEMPDIR/$NAME-$VERSION.tar + +-echo "#!/bin/bash" > $TEMPDIR/$EXE ++echo "#!/bin/sh" > $TEMPDIR/$EXE + echo >> $TEMPDIR/$EXE + echo "cat > $NAME-$VERSION.uuencoded <<'REAL_EOF'" >> $TEMPDIR/$EXE + $UUENCODE $TEMPDIR/$NAME-$VERSION.tar.gz $NAME-$VERSION.tar.gz >>$TEMPDIR/$EXE -- cgit v1.2.3