diff options
Diffstat (limited to 'lang/dylan-interpreter/Makefile.common')
-rw-r--r-- | lang/dylan-interpreter/Makefile.common | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lang/dylan-interpreter/Makefile.common b/lang/dylan-interpreter/Makefile.common index 26ad0b41259..edd9de781e3 100644 --- a/lang/dylan-interpreter/Makefile.common +++ b/lang/dylan-interpreter/Makefile.common @@ -1,7 +1,7 @@ -# $NetBSD: Makefile.common,v 1.1.1.1 2002/01/15 20:08:43 agc Exp $ +# $NetBSD: Makefile.common,v 1.2 2002/01/16 10:42:49 agc Exp $ # -DISTNAME= gwydion-dylan-2.3.6 +DISTNAME= gwydion-dylan-${DYLAN_VERSION} CATEGORIES= lang MASTER_SITES= ftp://berlin.ccc.de/pub/gd/src/ \ ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/src/ \ @@ -20,6 +20,8 @@ USE_GMAKE= yes MAKEFILE= GNUmakefile ALL_TARGET= default +DYLAN_VERSION= 2.3.6 + # other architecture changes will be gratefully received ONLY_FOR_PLATFORM= NetBSD-*-i386 @@ -28,6 +30,17 @@ USE_PERL5= yes USE_LIBTOOL= yes LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +.include "../../mk/bsd.prefs.mk" + +.if ${MACHINE_ARCH} == "i386" +ALT_ARCH= x86 +.else +ALT_ARCH= ${MACHINE_ARCH} +.endif + +PLIST_SUBST+= ALT_ARCH=${ALT_ARCH} +PLIST_SUBST+= DYLAN_VERSION=${DYLAN_VERSION} + post-patch: cd ${WRKSRC}; \ for f in tools/melange/netbsd-portability.dylan; do \ |