diff options
author | tv <tv> | 1998-02-11 23:44:56 +0000 |
---|---|---|
committer | tv <tv> | 1998-02-11 23:44:56 +0000 |
commit | 453fec9df69e017744eee5deca5e7297d97a62ab (patch) | |
tree | 336e6ce86cd602ac9a250edb6a10d773606aa94b /mail/pine | |
parent | 964d3f4231d6a23539deb75443e6ae67de839498 (diff) | |
download | pkgsrc-453fec9df69e017744eee5deca5e7297d97a62ab.tar.gz |
user-supplied patches may modify `os-neb.h'; don't leave some old
pre-patch `os-neb.h.orig' and sed-edit against that as it will trash the
user patch. `cp -f' the real file and sed-edit that instead.
Diffstat (limited to 'mail/pine')
-rw-r--r-- | mail/pine/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/pine/Makefile b/mail/pine/Makefile index e109f26e15e..26715f6582c 100644 --- a/mail/pine/Makefile +++ b/mail/pine/Makefile @@ -4,7 +4,7 @@ # Date created: 03 September 1994 # Whom: mr # -# $NetBSD: Makefile,v 1.5 1998/01/24 20:36:06 hubertf Exp $ +# $NetBSD: Makefile,v 1.6 1998/02/11 23:44:56 tv Exp $ # FreeBSD Id: Makefile,v 1.21 1997/03/26 02:12:07 ache Exp # @@ -18,8 +18,7 @@ MAINTAINER= ports@FreeBSD.org MAN1= pine.1 pico.1 pilot.1 post-patch: - [ -f ${WRKSRC}/pine/osdep/os-neb.h.orig ] || \ - ${CP} ${WRKSRC}/pine/osdep/os-neb.h ${WRKSRC}/pine/osdep/os-neb.h.orig + ${CP} -f ${WRKSRC}/pine/osdep/os-neb.h ${WRKSRC}/pine/osdep/os-neb.h.orig ${SED} \ -e 's|.*\(#define.*SYSTEM_PINERC_FIXED\) .*|\1 "'"${PREFIX}/lib/pine.conf.fixed"'"|g' \ -e 's|.*\(#define.*SYSTEM_PINERC\) .*|\1 "'"${PREFIX}/lib/pine.conf"'"|g' \ |