diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-06 22:35:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-06 22:35:22 +0000 |
commit | 54586a394df947b56962d7701bea78996d01e159 (patch) | |
tree | 40caea3520b9c20fd3d903ebff616770eab7fa38 | |
parent | a657b977f4de74027507cd8b8bb816c78daf7cc9 (diff) | |
download | pkgsrc-54586a394df947b56962d7701bea78996d01e159.tar.gz |
Not MAKE_JOBS_SAFE. Needs -fPIC.
-rw-r--r-- | x11/lablgtk1/Makefile | 8 | ||||
-rw-r--r-- | x11/lablgtk1/distinfo | 4 | ||||
-rw-r--r-- | x11/lablgtk1/patches/patch-aa | 11 |
3 files changed, 17 insertions, 6 deletions
diff --git a/x11/lablgtk1/Makefile b/x11/lablgtk1/Makefile index 1f13db48079..172d61f8608 100644 --- a/x11/lablgtk1/Makefile +++ b/x11/lablgtk1/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ CONFLICTS+= lablgtk-1.* # 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 --git a/x11/lablgtk1/distinfo b/x11/lablgtk1/distinfo index 732645fad08..3be5a4499ae 100644 --- a/x11/lablgtk1/distinfo +++ b/x11/lablgtk1/distinfo @@ -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 --git a/x11/lablgtk1/patches/patch-aa b/x11/lablgtk1/patches/patch-aa index 7d74cf2bf78..3c63f510419 100644 --- a/x11/lablgtk1/patches/patch-aa +++ b/x11/lablgtk1/patches/patch-aa @@ -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 |