pkgsrc/lang/dylan-interpreter/Makefile.common
agc 3171cddfb2 Update the dylan-interpreter to version 2.3.11 from 2.3.6
Fixes build problems shown up on various bulk builds.

2.3.11 has support for NetBSD/i386 as standard, so I've brought the sparc
and ppc support forward from previous pkgsrc patches.

2.3.11 no longer includes its own version of the Boehm GC malloc package,
so add the boehm-gc buildlink3.mk file to the package Makefile.
2004-09-30 10:53:19 +00:00

65 lines
1.7 KiB
Text

# $NetBSD: Makefile.common,v 1.16 2004/09/30 10:53:19 agc Exp $
#
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/ \
ftp://ftp.infodrom.north.de/pub/unix/language/dylan/gwydion/src/ \
ftp://folk.federated.com/pub/gd/src/ \
ftp://cymru.basistech.com/pub/mirrors/gd/src/ \
ftp://ftp.ntua.gr/pub/lang/gwydion/src/ \
ftp://ftp.kddlabs.co.jp/lang/dylan/gwydion/src/ \
ftp://gd.tuwien.ac.at/languages/gwydiondylan/src/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gwydiondylan.org/
COMMENT= Functional language
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
MAKEFILE= GNUmakefile
ALL_TARGET= default
GNU_CONFIGURE= yes
AUTOMAKE_REQD= 1.4
AUTOCONF_REQD= 2.50
DYLAN_VERSION= 2.3.11
# other architecture changes will be gratefully received
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-powerpc
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
ALT_ARCH= x86
.elif ${MACHINE_ARCH} == "powerpc"
ALT_ARCH= ppc
.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 \
${SED} -e "s|@prefix@|${PREFIX}|g" $$f > $$f.new; \
${MV} -f $$f.new $$f; \
done
pre-configure:
cd ${WRKSRC} && ${ACLOCAL}
cd ${WRKSRC} && ${PREFIX}/bin/libtoolize --force --copy
cd ${WRKSRC} && ${AUTOHEADER}
cd ${WRKSRC} && ${AUTOCONF}
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"