pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/p5-Sys-Hostname-Long Do not assume "patch" pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e09d587a0536
branches:  trunk
changeset: 472166:e09d587a0536
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Mon Apr 05 20:53:20 2004 +0000

description:
Do not assume "patch" programs on all platforms save the original file
as *.orig. Should fix the build on IRIX6.5.

diffstat:

 sysutils/p5-Sys-Hostname-Long/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ac07476eb054 -r e09d587a0536 sysutils/p5-Sys-Hostname-Long/Makefile
--- a/sysutils/p5-Sys-Hostname-Long/Makefile    Mon Apr 05 18:41:14 2004 +0000
+++ b/sysutils/p5-Sys-Hostname-Long/Makefile    Mon Apr 05 20:53:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/03/07 01:36:07 heinz Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/05 20:53:20 heinz Exp $
 #
 
 DISTNAME=              Sys-Hostname-Long-1.0
@@ -18,7 +18,8 @@
 PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/Sys/Hostname/Long/.packlist
 
 pre-configure:
-       @ ${RM} ${WRKSRC}/lib/Sys/Hostname/Long.pm.orig
+       @ ${TEST} -r ${WRKSRC}/lib/Sys/Hostname/Long.pm.orig && \
+         ${RM} ${WRKSRC}/lib/Sys/Hostname/Long.pm.orig ; :
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index