summaryrefslogtreecommitdiff
path: root/lang/smalleiffel/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-10-13 19:03:38 +0000
committerjlam <jlam>1999-10-13 19:03:38 +0000
commit645432c946ea32ac85a517f249e84a81c102b487 (patch)
tree24411e055116687793190d4e86461da960617c73 /lang/smalleiffel/Makefile
parente86c9f31a2b5835084dcda148880adca3dcfd7c2 (diff)
downloadpkgsrc-645432c946ea32ac85a517f249e84a81c102b487.tar.gz
* teach SmallEiffel that -Wl,option is a linker flag for gcc;
* bootstrap compile SmallEiffel with optimizations on; * some corrections to default loadpath.UNIX; * point users at correct documentation files in error messages.
Diffstat (limited to 'lang/smalleiffel/Makefile')
-rw-r--r--lang/smalleiffel/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/lang/smalleiffel/Makefile b/lang/smalleiffel/Makefile
index 1c09bce3049..f9585360cd0 100644
--- a/lang/smalleiffel/Makefile
+++ b/lang/smalleiffel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1999/10/12 08:01:33 jlam Exp $
+# $NetBSD: Makefile,v 1.4 1999/10/13 19:03:38 jlam Exp $
#
DISTNAME= se
@@ -29,11 +29,9 @@ post-extract:
cd ${WRKSRC}/man; ${RM} -f *.txt
cd ${WRKSRC}/sys; ${RM} -f compiler.se gc loadpath.* system.se
cd ${FILESDIR}; \
- ${CP} -f compiler.se gc loadpath.UNIX system.se ${WRKSRC}/sys
-
-post-patch:
- cd ${WRKSRC}/lib_se; \
- ${RM} -f frozen_string_list.e.orig system_tools.e.orig
+ ${CP} -f compiler.se gc system.se ${WRKSRC}/sys
+ ${SED} -e "s,@@SE_LIB@@,${LIBDIR},g" \
+ ${FILESDIR}/loadpath.UNIX.in > ${WRKSRC}/sys/loadpath.UNIX
do-build:
@${ECHO} '*** Building Eiffel compiler system (pass 1) ***'
@@ -47,10 +45,13 @@ do-build:
@${ECHO} '*** Building Eiffel compiler system (pass 2) ***'
@cd ${WRKSRC}/bin_c; \
+ (${ECHO} ${WRKSRC}/lib_std/; \
+ ${ECHO} ${WRKSRC}/lib_rand/; \
+ ${ECHO} ${WRKSRC}/lib_se/) > loadpath.se; \
for file in ${SE_BINARIES}; do \
${ECHO} Building $$file...; \
- SMALLEIFFEL=${WRKSRC} SmallEiffel=${WRKSRC}/sys/system.se \
- ../bin/compile -boost -no_split -o $$file $$file; \
+ SmallEiffel=${WRKSRC}/sys/system.se ${WRKSRC}/bin/compile \
+ -boost -no_gc -no_split -O2 -o $$file $$file; \
done
post-build:
@@ -58,6 +59,9 @@ post-build:
-e "s,@@SE_LIBEXEC@@,${LIBEXECDIR},g" \
${FILESDIR}/${BINNAME}.sh > ${WRKDIR}/${BINNAME}.sh
+pre-install:
+ find ${WRKSRC} -name "*.orig" -print | xargs ${RM} -f
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME}
${INSTALL_PROGRAM_DIR} ${LIBEXECDIR}