aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-graphviz
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-11-03 08:17:25 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-11-03 08:17:25 +0000
commit0861192de6f444f8176089faadcd1882b55b9816 (patch)
treee2d88f4ce71f382e38dbde45b7fe8e14b9c01459 /graphics/py-graphviz
parent2969c8fe5e76a13b16a0728bc3ef0335812b6c8e (diff)
downloadports-0861192de6f444f8176089faadcd1882b55b9816.tar.gz
ports-0861192de6f444f8176089faadcd1882b55b9816.zip
Use -rpath for linking so that ldconfiguring graphviz-local shared libs
is not required.
Notes
Notes: svn path=/head/; revision=147089
Diffstat (limited to 'graphics/py-graphviz')
-rw-r--r--graphics/py-graphviz/Makefile2
-rw-r--r--graphics/py-graphviz/files/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/py-graphviz/Makefile b/graphics/py-graphviz/Makefile
index 9b83f419a893..75ef51ae107d 100644
--- a/graphics/py-graphviz/Makefile
+++ b/graphics/py-graphviz/Makefile
@@ -6,7 +6,7 @@
PORTNAME= graphviz
PORTVERSION= 0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics python
MASTER_SITES= http://www.cs.brown.edu/~er/software/Agraph.py/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-graphviz/files/Makefile b/graphics/py-graphviz/files/Makefile
index 50e3f8f254f2..fdcdfae52a52 100644
--- a/graphics/py-graphviz/files/Makefile
+++ b/graphics/py-graphviz/files/Makefile
@@ -3,7 +3,7 @@
all: _graphviz.so
_graphviz.so: gv_wrap.o
- ${CC} -shared ${LOCALBASE}/lib/graphviz/libagraph.so ${LOCALBASE}/lib/graphviz/libcdt.so gv_wrap.o -o _graphviz.so
+ ${LD} -shared -L${LOCALBASE}/lib/graphviz -rpath ${LOCALBASE}/lib/graphviz -lagraph -lcdt gv_wrap.o -o _graphviz.so
gv_wrap.o: gv_wrap.c
${CC} -fno-strict-aliasing -DNDEBUG -O -pipe -DTHREAD_STACK_SIZE=0x20000 -fPIC -Dulong=u_long -DVERSION="py-agraph 1.0" -I${GRAPHVIZ_INCLUDEDIR} -I${PYTHON_INCLUDEDIR} ${CFLAGS} -c gv_wrap.c