diff options
author | jmmv <jmmv> | 2003-03-23 13:39:25 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-03-23 13:39:25 +0000 |
commit | b34d5d5c177790e8f3d54e0889c22503bb1ea40d (patch) | |
tree | 9966ce04e72a36bb6996d56a909f96506ff85c8b /mail/metamail/patches | |
parent | 9c7f6d4bd2c9f5e22b7bea84286af32d817def6f (diff) | |
download | pkgsrc-b34d5d5c177790e8f3d54e0889c22503bb1ea40d.tar.gz |
Honor PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Diffstat (limited to 'mail/metamail/patches')
-rw-r--r-- | mail/metamail/patches/patch-aa | 26 | ||||
-rw-r--r-- | mail/metamail/patches/patch-ab | 25 |
2 files changed, 34 insertions, 17 deletions
diff --git a/mail/metamail/patches/patch-aa b/mail/metamail/patches/patch-aa index 0606c7d7b92..acf5eabc900 100644 --- a/mail/metamail/patches/patch-aa +++ b/mail/metamail/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ +$NetBSD: patch-aa,v 1.4 2003/03/23 13:39:26 jmmv Exp $ ---- Makefile.orig Wed Jan 26 17:32:33 1994 -+++ Makefile Fri Sep 3 09:14:34 1999 -@@ -26,7 +26,7 @@ +--- Makefile.orig 1994-01-26 18:32:33.000000000 +0100 ++++ Makefile +@@ -26,7 +26,7 @@ MAKE = make CP = cp # How to compile C programs @@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ # You may also want to change the CFLAGS variable, which will be passed on # to all subdirectories. If you do that, the changes will only work right if you -@@ -38,7 +38,7 @@ +@@ -38,7 +38,7 @@ FOOBAR-sun4=-Bstatic STATICFLAG=FOOBAR${HOST_ARCH} @@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ # The following is better if you want to make sure you run with SYSV defined # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV # Also, for SGI Irix, compile in K&R mode -@@ -49,9 +49,12 @@ +@@ -49,9 +49,12 @@ CFLAGS = -g -I. ${$(STATICFLAG)} # LDLIBS variable. # # For Sun and BSD systems, the following should work... @@ -35,7 +35,7 @@ $NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space. # LDLIBS = -lsun -lc_s # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve -@@ -72,10 +75,10 @@ +@@ -72,10 +75,10 @@ CONFIGDIR = . # install -s -c $(LOCALBINDIR) $$file # #INSTALL = cp @@ -48,7 +48,13 @@ $NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ # # This is where binaries should be copied LOCALBINDIR = ${INSTROOT}/bin -@@ -96,9 +99,9 @@ +@@ -91,14 +94,14 @@ MAN4EXT = 4 + FONTSUFFIX=pcf + + # This is where the mailcap file should be put +-MAILCAPDIR = ${INSTROOT}/etc ++MAILCAPDIR = ${INSTROOT}/share/examples/metamail + # This helps with the "for" constructs below on some platforms: SHELL=/bin/sh @@ -60,7 +66,7 @@ $NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ (cd metamail ; $(MAKE) CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}") -${RM} bin/metamail (cd bin; ${LN} ../metamail/metamail metamail) -@@ -117,7 +120,7 @@ +@@ -117,7 +120,7 @@ basics:: (cd bin; ${LN} ../richmail/richtext richtext) -${RM} bin/richtoatk (cd bin; ${LN} ../richmail/richtoatk richtoatk) @@ -69,7 +75,7 @@ $NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $ -${RM} bin/shownonascii (cd bin; ${LN} ../fonts/shownonascii shownonascii) -${RM} bin/mailto-hebrew -@@ -149,6 +152,7 @@ +@@ -149,6 +152,7 @@ install-all: basics -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old @echo "installing file $(MAILCAPDIR)/mailcap" ${CP} mailcap $(MAILCAPDIR) diff --git a/mail/metamail/patches/patch-ab b/mail/metamail/patches/patch-ab index f5e63200eb1..9f2aef1fcdc 100644 --- a/mail/metamail/patches/patch-ab +++ b/mail/metamail/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.4 1999/09/03 08:19:15 agc Exp $ +$NetBSD: patch-ab,v 1.5 2003/03/23 13:39:26 jmmv Exp $ ---- config.h.orig Wed Nov 24 15:36:07 1993 -+++ config.h Fri Sep 3 09:07:12 1999 -@@ -65,6 +65,12 @@ +--- config.h.orig 1993-11-24 16:36:07.000000000 +0100 ++++ config.h +@@ -65,6 +65,12 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE #endif #endif @@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.4 1999/09/03 08:19:15 agc Exp $ /* NOTE: The RESET_PROGRAM resets the terminal to a "normal" state If you comment out the definition, all will be well except that metamail's -R switch won't work, and metamail-called programs might be more likely -@@ -100,7 +106,9 @@ +@@ -100,7 +106,9 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE #endif #ifdef SYSV @@ -25,7 +25,7 @@ $NetBSD: patch-ab,v 1.4 1999/09/03 08:19:15 agc Exp $ #define bcopy(a, b, c) memcpy(b, a, c) #define bzero(a, b) memset(a, 0, b) #define bcmp memcmp -@@ -155,7 +163,11 @@ +@@ -155,9 +163,13 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE #ifdef NeXT #define sigtype void #else @@ -33,7 +33,18 @@ $NetBSD: patch-ab,v 1.4 1999/09/03 08:19:15 agc Exp $ +#define sigtype void +#else #define sigtype int -+#endif #endif #endif ++#endif + #ifdef MSDOS + #define PATH_SEPARATOR ';' +@@ -173,7 +185,7 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIE + #else + #define PATH_SEPARATOR ':' + #ifndef STDPATH +-#define STDPATH "/.mailcap:/usr/local/etc/mailcap:/usr/etc/mailcap:/etc/mailcap:/etc/mail/mailcap:/usr/public/lib/mailcap" ++#define STDPATH "/.mailcap:" PKG_SYSCONFDIR "/mailcap" + #endif + #endif + #endif |