pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/lablgtk1 Not MAKE_JOBS_SAFE. Needs -fPIC.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8122e3492a15
branches:  trunk
changeset: 395083:8122e3492a15
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 06 22:35:22 2009 +0000

description:
Not MAKE_JOBS_SAFE. Needs -fPIC.

diffstat:

 x11/lablgtk1/Makefile         |   8 +++++---
 x11/lablgtk1/distinfo         |   4 ++--
 x11/lablgtk1/patches/patch-aa |  11 ++++++++++-
 3 files changed, 17 insertions(+), 6 deletions(-)

diffs (65 lines):

diff -r 6a78f39ec13d -r 8122e3492a15 x11/lablgtk1/Makefile
--- a/x11/lablgtk1/Makefile     Mon Jul 06 22:22:40 2009 +0000
+++ b/x11/lablgtk1/Makefile     Mon Jul 06 22:35:22 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2007/09/21 13:00:54 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/06 22:35:22 joerg Exp $
 
 DISTNAME=      lablgtk-1.2.7
 PKGNAME=       lablgtk1-1.2.7
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    x11
 MASTER_SITES=  http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
 
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
 COMMENT=       GTK+ bindings for ocaml
 
+MAKE_JOBS_SAFE=        no
+
 USE_TOOLS+=    gmake
 
 BUILDLINK_DEPMETHOD.ocaml=     full
@@ -21,7 +23,7 @@
 
 # currently ocamlopt is only available on i386, sparc and powerpc.
 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
-    (${MACHINE_ARCH} == "sparc")
+    (${MACHINE_ARCH} == "sparc") || ${MACHINE_ARCH} == "x86_64"
 USE_DOTOPT=    YES
 .else
 CAMLOPT=       ocamlc
diff -r 6a78f39ec13d -r 8122e3492a15 x11/lablgtk1/distinfo
--- a/x11/lablgtk1/distinfo     Mon Jul 06 22:22:40 2009 +0000
+++ b/x11/lablgtk1/distinfo     Mon Jul 06 22:35:22 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2007/09/21 13:00:55 wiz Exp $
+$NetBSD: distinfo,v 1.2 2009/07/06 22:35:22 joerg Exp $
 
 SHA1 (lablgtk-1.2.7.tar.gz) = fe43512efdc7ab4e0dafb7dc8254a784857a1ade
 RMD160 (lablgtk-1.2.7.tar.gz) = 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
 Size (lablgtk-1.2.7.tar.gz) = 468443 bytes
-SHA1 (patch-aa) = 6ed10b4f76376c372094a55bbdc02194358a2d7e
+SHA1 (patch-aa) = 58feff2dd3f93ec6dca05056b164ccd9a86109f5
diff -r 6a78f39ec13d -r 8122e3492a15 x11/lablgtk1/patches/patch-aa
--- a/x11/lablgtk1/patches/patch-aa     Mon Jul 06 22:22:40 2009 +0000
+++ b/x11/lablgtk1/patches/patch-aa     Mon Jul 06 22:35:22 2009 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.1 2007/09/21 13:00:55 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/06 22:35:22 joerg Exp $
 
 --- src/Makefile.orig  2003-05-15 16:17:53.000000000 +0200
 +++ src/Makefile
+@@ -38,7 +38,7 @@ CFLAGS = -g $(GTKCFLAGS)
+ MLLINK += -cclib -lcamlrund
+ MLFLAGS = -g
+ else
+-CFLAGS = -O -DGTK_NO_CHECK_CASTS -DGTK_DISABLE_COMPAT_H $(GTKCFLAGS)
++CFLAGS = -O -fPIC -DGTK_NO_CHECK_CASTS -DGTK_DISABLE_COMPAT_H $(GTKCFLAGS)
+ endif
+ 
+ THFLAGS = -thread
 @@ -137,32 +137,39 @@ testcc: lablgladecc lablgtktop
        rm -f testcc.ml
  



Home | Main Index | Thread Index | Old Index