This package needs dlopen.

This commit is contained in:
minskim 2006-06-07 23:52:17 +00:00
parent d177c8b04f
commit 1091f4393f
3 changed files with 14 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2006/03/04 21:29:02 jlam Exp $ # $NetBSD: Makefile,v 1.3 2006/06/07 23:52:17 minskim Exp $
# #
DISTNAME= gplcver-2.11a.src DISTNAME= gplcver-2.11a.src
@ -13,6 +13,9 @@ COMMENT= Verilog simulator
BUILD_DIRS= src BUILD_DIRS= src
MAKEFILE= makefile.freebsd MAKEFILE= makefile.freebsd
BUILDLINK_LIBS.dl= ${BUILDLINK_LDADD.dl}
.include "../../mk/dlopen.buildlink3.mk"
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/cver ${PREFIX}/bin

View file

@ -1,11 +1,11 @@
$NetBSD: distinfo,v 1.2 2006/02/16 19:41:04 joerg Exp $ $NetBSD: distinfo,v 1.3 2006/06/07 23:52:17 minskim Exp $
SHA1 (gplcver-2.11a.src.tar.bz2) = 5b26b70282bb7c79f5dfa9d70f3cf0972ac03b3c SHA1 (gplcver-2.11a.src.tar.bz2) = 5b26b70282bb7c79f5dfa9d70f3cf0972ac03b3c
RMD160 (gplcver-2.11a.src.tar.bz2) = 16bedab414af0cf4049394ea9f01ea2ebb4e3385 RMD160 (gplcver-2.11a.src.tar.bz2) = 16bedab414af0cf4049394ea9f01ea2ebb4e3385
Size (gplcver-2.11a.src.tar.bz2) = 1189439 bytes Size (gplcver-2.11a.src.tar.bz2) = 1189439 bytes
SHA1 (patch-aa) = a1692ebb9fde64ec4573ff65b880b1c809e53d66 SHA1 (patch-aa) = a1692ebb9fde64ec4573ff65b880b1c809e53d66
SHA1 (patch-ab) = b8d44b8fed5dc8d3379d990160fa453713163e2e SHA1 (patch-ab) = b8d44b8fed5dc8d3379d990160fa453713163e2e
SHA1 (patch-ac) = 8c82e31f81d0e787a32d6217dc7704f55e10d150 SHA1 (patch-ac) = f11db370a331a9a9c18ba57b056c814971d9dbfd
SHA1 (patch-ad) = bfd2061aff3a7b86dce2648a489a0c3035573271 SHA1 (patch-ad) = bfd2061aff3a7b86dce2648a489a0c3035573271
SHA1 (patch-ae) = 56c9a8bfa3f223855efc2cb3463d39daa55d98fa SHA1 (patch-ae) = 56c9a8bfa3f223855efc2cb3463d39daa55d98fa
SHA1 (patch-af) = bdbe16f718f595772917b4bc42c20b51077a5441 SHA1 (patch-af) = bdbe16f718f595772917b4bc42c20b51077a5441

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ac,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $ $NetBSD: patch-ac,v 1.2 2006/06/07 23:52:17 minskim Exp $
--- src/makefile.freebsd.orig 2006-02-10 17:10:16.000000000 +0100 --- src/makefile.freebsd.orig 2005-07-06 17:53:09.000000000 +0000
+++ src/makefile.freebsd +++ src/makefile.freebsd
@@ -45,7 +45,7 @@ CC=cc @@ -45,10 +45,10 @@ CC=cc
# select loader # select loader
LD=ld LD=ld
# needed for dynamic PLI loading # needed for dynamic PLI loading
@ -10,4 +10,8 @@ $NetBSD: patch-ac,v 1.1.1.1 2006/02/10 16:37:51 drochner Exp $
+LFLAGS=-export-dynamic -Wl,-R${PREFIX}/lib/gplcver +LFLAGS=-export-dynamic -Wl,-R${PREFIX}/lib/gplcver
# system libs # system libs
LIBS= -lm -LIBS= -lm
+LIBS= -lm ${DL_LIBS}
# rule for making the cver binary
cver: $(MAINOBJ) $(CVER_OBJS)