diff options
author | tv <tv@pkgsrc.org> | 1998-02-11 23:44:56 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-02-11 23:44:56 +0000 |
commit | ec541e9e0ad2ffaa1d6e96d9436e046a60baa948 (patch) | |
tree | 336e6ce86cd602ac9a250edb6a10d773606aa94b /mail | |
parent | a95cc5232b0f897f39ebf8ba1f890141facc808d (diff) | |
download | pkgsrc-ec541e9e0ad2ffaa1d6e96d9436e046a60baa948.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')
-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' \ |