1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/lang/caml-light/files/patch-contrib_debugger_Makefile
Joseph Koshy 02e454d15d - Honor CC, CFLAGS etc. [1]
- Use BSD_INSTALL_* macros to install files.	[1]
- Make the port PREFIX clean.

PR:		ports/101398	[1]
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru>
2006-08-06 10:53:54 +00:00

30 lines
804 B
Plaintext

--- ./contrib/debugger/Makefile-- Thu Dec 24 00:36:56 1998
+++ ./contrib/debugger/Makefile Sun Aug 6 11:38:17 2006
@@ -1,19 +1,19 @@
# Makefile for the Caml Light debugger
# These options are overriden when called from ../Makefile
-CC=cc
+#CC=cc
OPTS=
-LIBDIR=/usr/local/lib/caml-light
-CPP=/lib/cpp -P
+LIBDIR=${PREFIX}/lib/caml-light
+CPP=/usr/bin/cpp -P
# Compilation options
-CAMLC=camlc
-CAMLLEX=camllex
-CAMLYACC=camlyacc
+CAMLC=${PREFIX}/bin/camlc
+CAMLLEX=${PREFIX}/bin/camllex
+CAMLYACC=${PREFIX}/bin/camlyacc
INCLUDES=-I ../libunix -I ../../src/compiler -I ../../src/linker -I ../../src/toplevel
COMPFLAGS=-W $(INCLUDES)
LINKFLAGS=$(INCLUDES)
-CFLAGS=$(OPTS) -O -I../../src/runtime
+CFLAGS+=$(OPTS) -I../../src/runtime
EXTERNOBJS = \
config.zo globals.zo misc.zo interntl.zo \