gc LD_PRELOAD parts no longer needed, ok edd@

This commit is contained in:
sthen 2016-07-01 14:25:17 +00:00
parent dc0ddf7031
commit 431c3c4ce1
4 changed files with 5 additions and 27 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.64 2016/04/04 22:57:45 naddy Exp $
# $OpenBSD: Makefile,v 1.65 2016/07/01 14:25:17 sthen Exp $
COMMENT-main= graph drawing software
DISTNAME= graphviz-2.36.0
REVISION= 5
REVISION= 6
PKGNAME-main= ${DISTNAME}
CATEGORIES= math devel graphics
@ -151,7 +151,7 @@ TEST_TMP=${WRKDIR}/test_tmp
do-test:
mkdir -p ${TEST_TMP}
cd ${FILESDIR}/tests && for i in *-test.* run_tests.sh; do \
${SUBST_CMD} -c $${i} ${TEST_TMP}/$${i}; \
${SUBST_CMD} -m 0644 -c $${i} ${TEST_TMP}/$${i}; \
done
cd ${TEST_TMP} && /bin/sh ./run_tests.sh

View File

@ -1,11 +1,8 @@
#!/bin/sh
#
# $OpenBSD: run_tests.sh,v 1.1 2012/08/31 19:50:01 edd Exp $
# $OpenBSD: run_tests.sh,v 1.2 2016/07/01 14:25:17 sthen Exp $
# Simple regression tests for the OpenBSD graphviz port
# Required due to single threaded interpreters (see README)
export LD_PRELOAD=/usr/lib/libpthread.so
# Silence deprecated guile constructs
export GUILE_WARN_DEPRECATED=no

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.6 2016/04/04 22:57:45 naddy Exp $
@comment $OpenBSD: PLIST-main,v 1.7 2016/07/01 14:25:17 sthen Exp $
@bin bin/acyclic
@bin bin/bcomps
@bin bin/ccomps
@ -453,7 +453,6 @@ share/doc/graphviz/pdf/twopi.1.pdf
share/doc/graphviz/pdf/unflatten.1.pdf
share/doc/graphviz/pdf/vimdot.1.pdf
share/doc/graphviz/pdf/xdot.3.pdf
share/doc/pkg-readmes/${FULLPKGNAME}
share/examples/graphviz/
share/examples/graphviz/demo/
share/examples/graphviz/demo/doted.tcl

View File

@ -1,18 +0,0 @@
$OpenBSD: README-main,v 1.1 2012/08/22 09:55:01 edd Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
Threading Linkage for Language Bindings
=======================================
If you require a language binding for a language which does not support
multi-threading (at the moment, that is in-base perl and the default
flavoured tcl package), then you must use the LD_PRELOAD environment
variable to preload libpthread.
Eg. LD_PRELOAD=/usr/lib/libpthread.so perl some_graphviz_script.pl
This is because a host binary which does not link libpthread may not
dlopen() a shared object which does link libpthread.