pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform Since it's not particularly easy to get pe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20927949b507
branches:  trunk
changeset: 490483:20927949b507
user:      garbled <garbled%pkgsrc.org@localhost>
date:      Sat Mar 12 11:08:04 2005 +0000

description:
Since it's not particularly easy to get perl compiling under pkgsrc on
AIX, and AIX ships with perl 5 by default, allow pkgsrc to use it for
building stuff.

diffstat:

 mk/platform/AIX.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 505c49fe4462 -r 20927949b507 mk/platform/AIX.mk
--- a/mk/platform/AIX.mk        Sat Mar 12 11:05:37 2005 +0000
+++ b/mk/platform/AIX.mk        Sat Mar 12 11:08:04 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: AIX.mk,v 1.9 2005/02/16 08:03:44 grant Exp $
+# $NetBSD: AIX.mk,v 1.10 2005/03/12 11:08:04 garbled Exp $
 #
 # Variable definitions for the AIX operating system.
 
@@ -67,7 +67,11 @@
 .else
 PAX?=          /bin/pax
 .endif
+.if exists(${LOCALBASE}/bin/perl)
 PERL5?=                ${LOCALBASE}/bin/perl
+.else
+PERL5?=                /usr/bin/perl
+.endif
 PKGLOCALEDIR?= share
 PS?=           /bin/ps
 PWD_CMD?=      /bin/pwd        # needs to print physical path



Home | Main Index | Thread Index | Old Index