aboutsummaryrefslogtreecommitdiff
path: root/textproc/ocaml-expat/files
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-14 12:06:06 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-14 12:06:06 +0000
commit0ad6db7f9ee444d83a450a9e45ae0c860e2d4457 (patch)
treef32fc2576fd39f22546db6cf12607240524a90a3 /textproc/ocaml-expat/files
parent5cbcb38840d2fd14971cca538398f92cd19a920e (diff)
downloadports-0ad6db7f9ee444d83a450a9e45ae0c860e2d4457.tar.gz
ports-0ad6db7f9ee444d83a450a9e45ae0c860e2d4457.zip
Notes
Diffstat (limited to 'textproc/ocaml-expat/files')
-rw-r--r--textproc/ocaml-expat/files/patch-Makefile21
1 files changed, 4 insertions, 17 deletions
diff --git a/textproc/ocaml-expat/files/patch-Makefile b/textproc/ocaml-expat/files/patch-Makefile
index ed1d615f7459..ea359133feb4 100644
--- a/textproc/ocaml-expat/files/patch-Makefile
+++ b/textproc/ocaml-expat/files/patch-Makefile
@@ -1,24 +1,11 @@
---- Makefile.orig Sat Sep 27 16:52:29 2003
-+++ Makefile Wed Feb 9 10:46:58 2005
-@@ -4,8 +4,10 @@
-
- # Change this to match your expat installation.
- EXPAT_LIB=-lexpat
--EXPAT_LIBDIR=/usr/local/lib
--EXPAT_INCDIR=/usr/local/include
-+EXPAT_LIBDIR=${LOCALBASE}/lib
-+EXPAT_INCDIR=${LOCALBASE}/include
-+
-+CAML_INCDIR=${LOCALBASE}/lib/ocaml
-
- NAME=expat
- OBJECTS=expat.cmo
-@@ -31,7 +33,7 @@
+--- Makefile.orig Wed Apr 13 11:14:20 2005
++++ Makefile Wed Apr 13 11:15:49 2005
+@@ -32,7 +34,7 @@
allopt: $(XARCHIVE)
depend: *.c *.ml *.mli
- gcc -MM *.c > depend
-+ gcc -I$(EXPAT_INCDIR) -I$(CAML_INCDIR) -MM *.c > depend
++ $(CC) -I$(EXPAT_INCDIR) -I$(CAML_INCDIR) -MM *.c > depend
$(OCAMLDEP) *.mli *.ml >> depend
## Library creation