pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ocaml Remove useless patches, and fix PLIST issue...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9f6d77a2a4a
branches:  trunk
changeset: 398984:d9f6d77a2a4a
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sat Sep 12 18:44:40 2009 +0000

description:
Remove useless patches, and fix PLIST issues on freebsd x86_64

diffstat:

 lang/ocaml/Makefile         |   3 ++-
 lang/ocaml/patches/patch-bm |  31 -------------------------------
 lang/ocaml/patches/patch-bn |  31 -------------------------------
 3 files changed, 2 insertions(+), 63 deletions(-)

diffs (87 lines):

diff -r fe997f67bbfd -r d9f6d77a2a4a lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Sat Sep 12 18:43:48 2009 +0000
+++ b/lang/ocaml/Makefile       Sat Sep 12 18:44:40 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2009/01/22 01:00:33 he Exp $
+# $NetBSD: Makefile,v 1.62 2009/09/12 18:44:40 tonio Exp $
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
@@ -32,6 +32,7 @@
       empty(MACHINE_PLATFORM:MSunOS-*-i386) && \
       empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) && \
       empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && \
+      empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) && \
       empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
 PLIST_SRC+=    ${PKGDIR}/PLIST.prof
 .  endif
diff -r fe997f67bbfd -r d9f6d77a2a4a lang/ocaml/patches/patch-bm
--- a/lang/ocaml/patches/patch-bm       Sat Sep 12 18:43:48 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-bm,v 1.3 2006/01/16 09:41:48 adam Exp $
-
---- otherlibs/num/Makefile.orig        2005-01-21 15:15:44.000000000 +0100
-+++ otherlibs/num/Makefile
-@@ -19,7 +19,7 @@ include ../../config/Makefile
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-+CFLAGS+=-I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
-           -DBNG_ARCH_$(BNG_ARCH) -DBNG_ASM_LEVEL=$(BNG_ASM_LEVEL)
- CAMLC=../../ocamlcomp.sh
- CAMLOPT=../../ocamlcompopt.sh
-@@ -49,13 +49,13 @@ libnums.a: $(COBJS)
- $(CAMLOBJS:.cmo=.cmx): ../../ocamlopt
- 
- install:
--      if test -f dllnums.so; then cp dllnums.so $(STUBLIBDIR)/dllnums.so; fi
--      cp libnums.a $(LIBDIR)/libnums.a
-+      if test -f dllnums.so; then ${BSD_INSTALL_DATA} dllnums.so $(STUBLIBDIR)/dllnums.so; fi
-+      ${BSD_INSTALL_DATA} libnums.a $(LIBDIR)/libnums.a
-       cd $(LIBDIR); $(RANLIB) libnums.a
--      cp nums.cma $(CMIFILES) $(CMIFILES:.cmi=.mli) $(LIBDIR)
-+      ${BSD_INSTALL_DATA} nums.cma $(CMIFILES) $(CMIFILES:.cmi=.mli) $(LIBDIR)
- 
- installopt:
--      cp $(CAMLOBJS:.cmo=.cmx) nums.cmxa nums.a $(LIBDIR)
-+      ${BSD_INSTALL_DATA} $(CAMLOBJS:.cmo=.cmx) nums.cmxa nums.a $(LIBDIR)
-       cd $(LIBDIR); $(RANLIB) nums.a
- 
- partialclean:
diff -r fe997f67bbfd -r d9f6d77a2a4a lang/ocaml/patches/patch-bn
--- a/lang/ocaml/patches/patch-bn       Sat Sep 12 18:43:48 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-bn,v 1.4 2007/09/14 15:34:12 adam Exp $
-
---- otherlibs/str/Makefile.orig        2007-01-29 13:11:16.000000000 +0100
-+++ otherlibs/str/Makefile
-@@ -19,7 +19,7 @@ include ../../config/Makefile
- 
- # Compilation options
- CC=$(BYTECC)
--CFLAGS=-O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
-+CFLAGS+=-I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS)
- CAMLC=../../ocamlcomp.sh
- CAMLOPT=../../ocamlcompopt.sh
- COMPFLAGS=-warn-error A -g
-@@ -48,13 +48,13 @@ clean: partialclean
-       rm -f *.a *.so *.o
- 
- install:
--      if test -f dllstr.so; then cp dllstr.so $(STUBLIBDIR)/dllstr.so; fi
--      cp libstr.a $(LIBDIR)/libstr.a
-+      if test -f dllstr.so; then ${BSD_INSTALL_DATA} dllstr.so $(STUBLIBDIR)/dllstr.so; fi
-+      ${BSD_INSTALL_DATA} libstr.a $(LIBDIR)/libstr.a
-       cd $(LIBDIR); $(RANLIB) libstr.a
--      cp str.cma str.cmi str.mli $(LIBDIR)
-+      ${BSD_INSTALL_DATA} str.cma str.cmi str.mli $(LIBDIR)
- 
- installopt:
--      cp str.cmx str.cmxa str.a $(LIBDIR)
-+      ${BSD_INSTALL_DATA} str.cmx str.cmxa str.a $(LIBDIR)
-       cd $(LIBDIR); $(RANLIB) str.a
- 
- .SUFFIXES: .ml .mli .cmo .cmi .cmx



Home | Main Index | Thread Index | Old Index