Files
ports/java/shujit/Makefile
Satoshi Asami 4aa17879ef Use USE_GCC. This port still doesn't build:
===
 :
checking for awk... awk
checking version of gcc... configure: error: unrecognized.
===>  Script "configure" failed: here are the contents of "config.log"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:563: checking host system type
configure:594: checking for libgdbm.so
configure:714: checking whether make sets ${MAKE}
configure:741: checking C compiler
configure:750: checking for gcc295
configure:845: checking for objdump
configure:888: checking for ruby
configure:928: checking for ci
configure:965: checking for co
configure:1002: checking for mv
configure:1039: checking for rm
configure:1076: checking for wc
configure:1113: checking for etags
configure:1151: checking for which
configure:1189: checking for fgrep
configure:1228: checking for sed
configure:1266: checking for mawk
configure:1266: checking for gawk
configure:1266: checking for nawk
configure:1266: checking for awk
configure:1298: checking version of gcc
(end of "config.log")
*** Error code 1

Stop.
 :
===

which looks weird since it does find gcc295 (line 750) before it bows
out by not recognizing it.

But at least it's now finding the right compiler.
1999-08-23 10:31:10 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: shujit
# Version required: 0.3.1b
# Date created: 30 April 1999
# Whom: jake@checker.org
#
# $Id: Makefile,v 1.6 1999/08/01 03:00:30 steve Exp $
#
DISTNAME= shujit-0.3.1b
CATEGORIES= java
MASTER_SITES= http://www.shudo.net/jit/dist/old/
MAINTAINER= jake@checker.org
BUILD_DEPENDS= ${PREFIX}/bin/ruby:${PORTSDIR}/lang/ruby \
${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk \
${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
WRKSRC= ${WRKDIR}/shujit
ONLY_FOR_ARCHS= i386
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_NEWGCC= yes
MAKE_FLAGS=
MAKEFILE=
MAKE_ARGS=
ALL_TARGET=
JAVADIR= ${PREFIX}/jdk1.1.8
JAVALIBDIR= ${JAVADIR}/lib/i386/green_threads
JAVABINDIR= ${JAVADIR}/bin/i386/green_threads
JAVAOBJFORMAT= `file ${JAVABINDIR}/java | ${AWK} '{print $$2}'`
pre-build:
@( if [ ${JAVAOBJFORMAT} != ELF ]; then \
${CAT} ${PKGDIR}/MESSAGE; \
exit 1; \
fi; )
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${JAVALIBDIR}
post-install:
@${MKDIR} ${JAVADIR}/shujit
@${INSTALL_MAN} ${WRKSRC}/README ${JAVADIR}/shujit
@${ECHO_MSG} ""
@${ECHO_MSG} "See ${JAVADIR}/shujit/README for usage instructions."
@${ECHO_MSG} ""
.include <bsd.port.mk>