pkgsrc/devel/gentle/patches/patch-ab
wiz 60d3c98c0f Import gentle-97, provided by Marko Schütz in PR 28404.
Gentle is an integrated system for compiler writers.
Gentle supports the description of compilers at a very high level
and relieves users from the need to deal with implementation details.
It has been used in large industrial projects and for constructing various
commercial products.
2004-11-30 08:23:15 +00:00

20 lines
637 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/11/30 08:23:15 wiz Exp $
--- lib/build.orig 1998-08-21 01:56:12.000000000 +1200
+++ lib/build
@@ -7,8 +7,10 @@ GENTLE=../gentle/gentle
GRTS=../gentle/grts.o
CC=cc
-$CC -c main.c
-$CC -c errmsg.c
-$CC -c strings.c
-$CC -c idents.c
-$CC -c output.c
+${LIBTOOL} --mode=compile $CC -c main.c
+${LIBTOOL} --mode=compile $CC -c errmsg.c
+${LIBTOOL} --mode=compile $CC -c strings.c
+${LIBTOOL} --mode=compile $CC -c idents.c
+${LIBTOOL} --mode=compile $CC -c output.c
+
+${LIBTOOL} --mode=link ${CC} -o libgentle.la main.lo errmsg.lo strings.lo idents.lo output.lo -rpath ${PREFIX}/lib -version-info 0:0:0