diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-07-13 15:20:29 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-07-13 15:20:29 +0000 |
commit | 8fcc13103dc143e78a471c874d55c0bb8e5d4838 (patch) | |
tree | c5bfcd866f09aaabe4c9f9d148d9eeb2ce2da9d3 /lang | |
parent | 85dfa30d2780efa58b122a140daf29dab138310e (diff) | |
download | pkgsrc-8fcc13103dc143e78a471c874d55c0bb8e5d4838.tar.gz |
sort out 32- and 64bit flags for IRIX
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 054c7ee466d..78cab3a83cc 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.95 2005/06/30 17:24:49 minskim Exp $ +# $NetBSD: Makefile,v 1.96 2005/07/13 15:20:29 jschauma Exp $ # The following two variables should have empty values unless we're # building a perl snapshot or release candidate. @@ -189,8 +189,12 @@ CONFIGURE_ARGS+= -Dlibswanted="${LIBSWANTED}" .include "../../mk/compiler.mk" -.if ${OPSYS} == "IRIX" && ${ABI} == "64" +.if ${OPSYS} == "IRIX" +. if ${ABI} == "64" CONFIGURE_ARGS+= -Dcc='${CC} -64' -Duse64bitint +. else +CONFIGURE_ARGS+= -Dcc='${CC} -n32' +. endif .endif PERL5= ${PREFIX}/bin/perl${PERL5_VERS} |