summaryrefslogtreecommitdiff
path: root/lang/caml-light/files/patch-aa
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2006-08-06 10:53:54 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2006-08-06 10:53:54 +0000
commit02e454d15d1b88464bea24b1fe794e707b78c633 (patch)
tree6c509124baef9f12c74f6da2210c4dde6bdc463a /lang/caml-light/files/patch-aa
parent- Add readline as dependency when it was already installed. The program (diff)
- 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>
Notes
Notes: svn path=/head/; revision=169820
Diffstat (limited to 'lang/caml-light/files/patch-aa')
-rw-r--r--lang/caml-light/files/patch-aa23
1 files changed, 20 insertions, 3 deletions
diff --git a/lang/caml-light/files/patch-aa b/lang/caml-light/files/patch-aa
index a0d8f35c3470..81b7c3f5b325 100644
--- a/lang/caml-light/files/patch-aa
+++ b/lang/caml-light/files/patch-aa
@@ -1,11 +1,28 @@
---- src/Makefile.orig Wed Mar 3 18:55:57 1999
-+++ src/Makefile Sat Mar 6 19:51:31 2004
+--- src/Makefile.orig Wed Mar 3 16:25:57 1999
++++ src/Makefile Sat Aug 5 09:56:37 2006
+@@ -2,14 +2,14 @@
+
+ # Which C compiler to use.
+ # Performance is often improved if you use gcc 2.x instead of cc.
+-CC=gcc
++#CC=gcc
+
+ # Additional options to $(CC).
+ # If you are using gcc, add -fno-defer-pop.
+ # This option circumvents a gcc bug on some platforms (680x0, 80386).
+ # If you are using Linux with libc6 (RedHat 5, Debian 2), add -D__FAVOR_BSD
+ # This option avoids signal-related problems.
+-OPTS=-fno-defer-pop -D__FAVOR_BSD
++OPTS=-fno-defer-pop -D__FAVOR_BSD ${CFLAGS}
+
+ # Extra libraries that have to be linked with the runtime system.
+ # The math library "-lm" is linked by default.
@@ -26,19 +26,19 @@
# not all Unix C preprocessors define it.
# If your cpp is too fussy, make tools/clprepro and use this:
# CPP=../../src/tools/clprepro -Dunix
-CPP=/lib/cpp -P -traditional -Dunix
-+CPP=/usr/bin/cpp -P -traditional -Dunix
++CPP=/usr/bin/cpp -P -traditional -Dunix ${CPPFLAGS}
# The directory where public executables will be installed
-BINDIR=/usr/local/bin