pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jul  7 12:15:36 UTC 2016

Modified Files:
        pkgsrc/lang/ocaml: Makefile distinfo
        pkgsrc/lang/ocaml/patches: patch-configure

Log Message:
Use the GCC front-end for linking on SunOS, resolves issues with SSP
and passing incompatible ld arguments.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/lang/ocaml/Makefile
cvs rdiff -u -r1.95 -r1.96 pkgsrc/lang/ocaml/distinfo
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/ocaml/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ocaml/Makefile
diff -u pkgsrc/lang/ocaml/Makefile:1.103 pkgsrc/lang/ocaml/Makefile:1.104
--- pkgsrc/lang/ocaml/Makefile:1.103    Thu May  5 08:12:01 2016
+++ pkgsrc/lang/ocaml/Makefile  Thu Jul  7 12:15:36 2016
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.103 2016/05/05 08:12:01 jaapb Exp $
+# $NetBSD: Makefile,v 1.104 2016/07/07 12:15:36 jperkin Exp $
 
 .include "Makefile.common"
 
+PKGREVISION=           1
 
 #CONFIGURE_ARGS+=      -no-tk
 #CONFIGURE_ARGS+=      -cc ${CC}

Index: pkgsrc/lang/ocaml/distinfo
diff -u pkgsrc/lang/ocaml/distinfo:1.95 pkgsrc/lang/ocaml/distinfo:1.96
--- pkgsrc/lang/ocaml/distinfo:1.95     Wed Jul  6 14:19:51 2016
+++ pkgsrc/lang/ocaml/distinfo  Thu Jul  7 12:15:36 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.95 2016/07/06 14:19:51 jperkin Exp $
+$NetBSD: distinfo,v 1.96 2016/07/07 12:15:36 jperkin Exp $
 
 SHA1 (ocaml-4.03.0.tar.gz) = 28773fd89507dbc400a366b886425436569e70d8
 RMD160 (ocaml-4.03.0.tar.gz) = 774934e72746cd8b94ac732abdd47d7f06344fda
@@ -9,7 +9,7 @@ SHA1 (patch-asmcomp_asmlink.ml) = db2b38
 SHA1 (patch-asmrun_Makefile) = 923b46ebf5fb56693b8335787846dafda936b34c
 SHA1 (patch-asmrun_signals_osdep.h) = 0e72ee5595b937384284c884c2dd2a8be32e824c
 SHA1 (patch-byterun_Makefile) = b9b14b097904fbde4b738b89461991411e985ae1
-SHA1 (patch-configure) = 7c50db115f4f4de84669fc105dad1ece4e1f265d
+SHA1 (patch-configure) = 0f0d52440112c416117b3c92ac27b6661fd5d572
 SHA1 (patch-debugger_Makefile.shared) = f0aac2e10b7ccf2e8e43bbbd3fd3e59e4dc4eeae
 SHA1 (patch-driver_compenv.ml) = 658e315bb08f8a1093f11c8474ac1e4ad73c8306
 SHA1 (patch-driver_main.ml) = 69a6f761ded38e0721a7aed1416a9f19a288d991

Index: pkgsrc/lang/ocaml/patches/patch-configure
diff -u pkgsrc/lang/ocaml/patches/patch-configure:1.14 pkgsrc/lang/ocaml/patches/patch-configure:1.15
--- pkgsrc/lang/ocaml/patches/patch-configure:1.14      Thu May  5 08:12:01 2016
+++ pkgsrc/lang/ocaml/patches/patch-configure   Thu Jul  7 12:15:36 2016
@@ -1,9 +1,9 @@
-$NetBSD: patch-configure,v 1.14 2016/05/05 08:12:01 jaapb Exp $
+$NetBSD: patch-configure,v 1.15 2016/07/07 12:15:36 jperkin Exp $
 
 Several configure changes to work on and detect NetBSD (and some other OSes)
 
 See also: <http://caml.inria.fr/mantis/view.php?id=6900>
---- configure.orig     2016-04-01 12:53:41.000000000 +0000
+--- configure.orig     2016-04-25 13:36:01.000000000 +0000
 +++ configure
 @@ -671,7 +671,7 @@ if test $with_sharedlibs = "yes"; then
        mkmaindll="$flexlink -maindll"
@@ -14,6 +14,15 @@ See also: <http://caml.inria.fr/mantis/v
        sharedcccompopts="-fPIC"
        mksharedlib="$bytecc -shared"
        bytecclinkopts="$bytecclinkopts -Wl,-E"
+@@ -699,7 +699,7 @@ if test $with_sharedlibs = "yes"; then
+         *gcc*)
+           sharedcccompopts="-fPIC"
+           if sh ./solaris-ld; then
+-            mksharedlib="ld -G"
++            mksharedlib="$bytecc -shared"
+             byteccrpath="-R"
+             mksharedlibrpath="-R"
+           else
 @@ -726,7 +726,7 @@ if test $with_sharedlibs = "yes"; then
        byteccrpath="-Wl,-rpath,"
        mksharedlibrpath="-rpath "



Home | Main Index | Thread Index | Old Index