diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 11:29:59 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 11:29:59 +0000 |
commit | 0974d124891d24884cb07e9d2faebacc542a3f0c (patch) | |
tree | 91808fad10af612d5231c8e0f81747c1a8c75df4 /cad/gplcver | |
parent | a2d32870726ffd1a03bd80b9c79cab8337cf5e30 (diff) | |
download | pkgsrc-0974d124891d24884cb07e9d2faebacc542a3f0c.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'cad/gplcver')
-rw-r--r-- | cad/gplcver/Makefile | 7 | ||||
-rw-r--r-- | cad/gplcver/distinfo | 4 | ||||
-rw-r--r-- | cad/gplcver/patches/patch-aa | 13 |
3 files changed, 19 insertions, 5 deletions
diff --git a/cad/gplcver/Makefile b/cad/gplcver/Makefile index ca49b9e5427..85c9882cbd4 100644 --- a/cad/gplcver/Makefile +++ b/cad/gplcver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2011/06/09 11:50:17 drochner Exp $ +# $NetBSD: Makefile,v 1.8 2012/02/16 11:39:39 hans Exp $ # DISTNAME= gplcver-2.12a.src @@ -20,6 +20,11 @@ BUILDLINK_LIBS.dl= ${BUILDLINK_LDADD.dl} INSTALLATION_DIRS= bin lib/gplcver/pli_incs +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +BUILDLINK_TRANSFORM+= rm:-export-dynamic +.endif + .include "../../mk/dlopen.buildlink3.mk" do-install: diff --git a/cad/gplcver/distinfo b/cad/gplcver/distinfo index 59e4684745f..5ea7e05559a 100644 --- a/cad/gplcver/distinfo +++ b/cad/gplcver/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.4 2011/06/09 11:50:17 drochner Exp $ +$NetBSD: distinfo,v 1.5 2012/02/16 11:39:39 hans Exp $ SHA1 (gplcver-2.12a.src.tar.bz2) = 946bb35b6279646c6e10c309922ed17deb2aca8a RMD160 (gplcver-2.12a.src.tar.bz2) = 5af004b345142ac5400c9defc7125bbe127d2c49 Size (gplcver-2.12a.src.tar.bz2) = 1224470 bytes -SHA1 (patch-aa) = a1692ebb9fde64ec4573ff65b880b1c809e53d66 +SHA1 (patch-aa) = 82607a701e10ac2cf91860bbe9189b78eb4b0dcc SHA1 (patch-ab) = b8d44b8fed5dc8d3379d990160fa453713163e2e SHA1 (patch-ac) = f11db370a331a9a9c18ba57b056c814971d9dbfd SHA1 (patch-ad) = bfd2061aff3a7b86dce2648a489a0c3035573271 diff --git a/cad/gplcver/patches/patch-aa b/cad/gplcver/patches/patch-aa index 6d3e002e9ef..eea2b854f1c 100644 --- a/cad/gplcver/patches/patch-aa +++ b/cad/gplcver/patches/patch-aa @@ -1,8 +1,17 @@ -$NetBSD: patch-aa,v 1.2 2006/02/16 19:41:04 joerg Exp $ +$NetBSD: patch-aa,v 1.3 2012/02/16 11:39:39 hans Exp $ --- src/v.h.orig 2006-02-10 12:25:44.000000000 +0100 +++ src/v.h -@@ -102,7 +102,7 @@ typedef int32 sighandler(); +@@ -95,7 +95,7 @@ typedef int32 i_tev_ndx; + /* needed to allow signals to use normal decls */ + typedef int32 sighandler(); + +-#ifndef __sparc ++#ifndef __sun + /* BEWARE - assuming all non sparc systems define BYTE_ORDER and endian.h */ + /* to PORT change for your system */ + # ifdef __APPLE__ +@@ -104,7 +104,7 @@ typedef int32 sighandler(); # ifdef __CYGWIN32__ # include <sys/param.h> # else |