101d40c840
headers and libs. Make this package work on Solaris. Use the same "pkgsrc" configuration file for locations of objects on NetBSD (both ELF and a.out) and Solaris. Use a Makefile target, rather than a separate script. Avoid clash with ALIGN definition in <sys/param.h>
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.11 1999/08/17 11:18:40 agc Exp $
|
|
# FreeBSD Id: Makefile,v 1.15 1997/09/01 12:28:30 tg Exp
|
|
#
|
|
|
|
DISTNAME= elk-3.0
|
|
PKGNAME= elk-3.0.2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.uni-bremen.de/pub/programming/languages/scheme/elk/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www-rn.informatik.uni-bremen.de/software/elk/
|
|
|
|
NOT_FOR_PLATFORM= *-*-alpha *-*-mips #elf loading problems, LP64
|
|
|
|
ALL_TARGET= default
|
|
USE_X11= yes
|
|
|
|
do-configure:
|
|
@case `${MAKE} show-shlib-type` in \
|
|
a.out) exetype=aout ;; \
|
|
ELF) exetype=elf ;; \
|
|
esac; \
|
|
${ECHO} "Setting up links for $$exetype on ${LOWER_OPSYS}"; \
|
|
${RM} -f ${WRKSRC}/config/untested/elf-solaris-cc; \
|
|
${LN} -s ${WRKSRC}/config/sun-sunos5-gcc ${WRKSRC}/config/untested/elf-solaris-cc; \
|
|
${RM} -f ${WRKSRC}/config/system ${WRKSRC}/config/site; \
|
|
${LN} -s ${WRKSRC}/config/untested/$$exetype-${LOWER_OPSYS}-cc ${WRKSRC}/config/system; \
|
|
for f in aout-netbsd elf-netbsd elf-solaris; do \
|
|
${RM} -f ${WRKSRC}/config/sites/$$f; \
|
|
${LN} -s ${WRKSRC}/config/sites/pkgsrc ${WRKSRC}/config/sites/$$f; \
|
|
done; \
|
|
${LN} -s ${WRKSRC}/config/sites/$$exetype-${LOWER_OPSYS} ${WRKSRC}/config/site
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|