summaryrefslogtreecommitdiff
path: root/sysutils/p5-Sys-Hostname-Long
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2004-04-05 20:53:20 +0000
committerheinz <heinz@pkgsrc.org>2004-04-05 20:53:20 +0000
commit1fbeaba98df739117b3ed5fdebca738f89474789 (patch)
treec575c13f2e4f9f5c3a653d7741d2870f8d986bfb /sysutils/p5-Sys-Hostname-Long
parent5350dc21df1c6b02c07959f701069a2db10e2d51 (diff)
downloadpkgsrc-1fbeaba98df739117b3ed5fdebca738f89474789.tar.gz
Do not assume "patch" programs on all platforms save the original file
as *.orig. Should fix the build on IRIX6.5.
Diffstat (limited to 'sysutils/p5-Sys-Hostname-Long')
-rw-r--r--sysutils/p5-Sys-Hostname-Long/Makefile5
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"