diff options
author | heinz <heinz> | 2004-04-05 20:53:20 +0000 |
---|---|---|
committer | heinz <heinz> | 2004-04-05 20:53:20 +0000 |
commit | 1105eb2887414bf16bc19469415985c6c0045e6c (patch) | |
tree | c575c13f2e4f9f5c3a653d7741d2870f8d986bfb | |
parent | e9eccdac523b59a1a5112ab549400862677a6546 (diff) | |
download | pkgsrc-1105eb2887414bf16bc19469415985c6c0045e6c.tar.gz |
Do not assume "patch" programs on all platforms save the original file
as *.orig. Should fix the build on IRIX6.5.
-rw-r--r-- | sysutils/p5-Sys-Hostname-Long/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/p5-Sys-Hostname-Long/Makefile b/sysutils/p5-Sys-Hostname-Long/Makefile index 78f419072d1..53b8335a9c1 100644 --- a/sysutils/p5-Sys-Hostname-Long/Makefile +++ b/sysutils/p5-Sys-Hostname-Long/Makefile @@ -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 @@ USE_LANGUAGES= # empty 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" |