diff options
author | wiz <wiz@pkgsrc.org> | 2006-10-19 19:47:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-10-19 19:47:34 +0000 |
commit | 2468d8af9c765dbb2ed7a2f96aca628e29fb9a76 (patch) | |
tree | 162894f8a8bf2bcc1a31244ea786cc244272d6e3 /lang/smlnj/Makefile.common | |
parent | f7e8b48f0bb5da52d0788d6bf15e4a07910400d3 (diff) | |
download | pkgsrc-2468d8af9c765dbb2ed7a2f96aca628e29fb9a76.tar.gz |
Give BOX a default value, so that "make fetch" at least works partially
on unsupported platforms.
Diffstat (limited to 'lang/smlnj/Makefile.common')
-rw-r--r-- | lang/smlnj/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/smlnj/Makefile.common b/lang/smlnj/Makefile.common index e458cf295b9..d48c0fe1567 100644 --- a/lang/smlnj/Makefile.common +++ b/lang/smlnj/Makefile.common @@ -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 @@ BOX= ppc 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} |