summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2005-03-12 11:08:04 +0000
committergarbled <garbled@pkgsrc.org>2005-03-12 11:08:04 +0000
commitd0eeab56766cec5164e4a97475ccafd979b3c558 (patch)
tree7c12777e84fdcc7531adf64ed4bae40cb329172c /mk/platform
parentdb6b4407ee965b1193cf61a5e4d2b5125a01a933 (diff)
downloadpkgsrc-d0eeab56766cec5164e4a97475ccafd979b3c558.tar.gz
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 (limited to 'mk/platform')
-rw-r--r--mk/platform/AIX.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/AIX.mk b/mk/platform/AIX.mk
index def2c9592de..84bdfb452b1 100644
--- a/mk/platform/AIX.mk
+++ b/mk/platform/AIX.mk
@@ -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 @@ PAX?= ${LOCALBASE}/bin/pax
.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