openbsd-ports/lang/obc/patches/patch-debugger_Makefile_in
jasper 6b5442d0e3 import obc-2.9.1
Oberon-2 is clean and simple programming language.
This is portable compiler that translates Oberon-2 into bytecode, which
can be either interpreted or dynamically translated into machine code.
Dynamic translation uses a portable interface modelled on the one in GNU
Lightning, but is so far implemented only on x86 machines.  The
implementation includes a full garbage collector, and comes with
profiling tools and a simple GUI debugger.
[...]

    from Alexander Shiryaev (MAINTAINER) with tweaks by me
	
	    ok landry@
2011-01-15 13:07:50 +00:00

28 lines
1.1 KiB
Plaintext

$OpenBSD: patch-debugger_Makefile_in,v 1.1.1.1 2011/01/15 13:07:50 jasper Exp $
--- debugger/Makefile.in.orig Fri Jan 7 19:11:07 2011
+++ debugger/Makefile.in Thu Jan 13 03:00:28 2011
@@ -54,10 +54,11 @@ LABLGTK2 = @LABLGTK2@
all: obdb1
-LIBS = unix.cma threads.cma lablgtk.cma str.cma gtkThread.cmo $(YYPARSE)
+LIBS = unix.cma threads.cma lablgtk.cma lablgtksourceview2.cma str.cma \
+ gtkThread.cmo $(YYPARSE)
OBDB1 = ../compiler/basis.cma debugger.cma debmain.cmo
-obdb1: $(OBDB1) debprims.o ../lablgtk/lablgtk.cma ../lablgtk/liblablgtk.a
- $(OCAMLC) $(MLFLAGS) -custom -I ../lablgtk \
+obdb1: $(OBDB1) debprims.o $(LABLGTK2)/lablgtk.cma $(LABLGTK2)/liblablgtk2.a
+ $(OCAMLC) $(MLFLAGS) -custom -I $(LABLGTK2) \
-thread -o $@ $(LIBS) $(OBDB1) debprims.o $(MLLINKFLAGS)
DEBUGGER = debconf.cmo binary.cmo info.cmo procio.cmo data.cmo \
@@ -76,7 +77,7 @@ debprims.o: debprims.c
%.ml: %.mll
$(OCAMLLEX) -o $@ $<
-INCLUDE = -I ../compiler -I ../lablgtk
+INCLUDE = -I ../compiler -I $(LABLGTK2)
%.cmi: %.mli
$(OCAMLC) $(MLFLAGS) -c $(INCLUDE) -o $@ $<