pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/smlnj Give BOX a default value, so that "make fet...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a4ad10e6252
branches:  trunk
changeset: 520340:9a4ad10e6252
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 19 19:47:34 2006 +0000

description:
Give BOX a default value, so that "make fetch" at least works partially
on unsupported platforms.

diffstat:

 lang/smlnj/Makefile.common |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8c69597e2614 -r 9a4ad10e6252 lang/smlnj/Makefile.common
--- a/lang/smlnj/Makefile.common        Thu Oct 19 19:37:38 2006 +0000
+++ b/lang/smlnj/Makefile.common        Thu Oct 19 19:47:34 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2005/12/08 09:15:37 rillig Exp $
+# $NetBSD: Makefile.common,v 1.7 2006/10/19 19:47:34 wiz Exp $
 
 # smlnj also supports hppa, sparc, ppc, mlrisc & alpha
 # pkg support for those platforms, and say, solaris-x86
@@ -26,6 +26,10 @@
 NLFFI=         "@comment "
 .elif ${MACHINE_ARCH} == "sparc"
 BOX=           ${MACHINE_ARCH}
+.else
+# for "make fetch", default to i386 instead of trying to download
+# a non-existing file
+BOX=           x86
 .endif
 
 PLIST_SUBST+=  BOX=${BOX:Q} OS=${OS:Q} NLFFI=${NLFFI}



Home | Main Index | Thread Index | Old Index