aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-11-03 16:17:25 +0800
committervs <vs@FreeBSD.org>2005-11-03 16:17:25 +0800
commit8750fcc39557e469cd4a1f2b24db01da28fb9bad (patch)
treebc2cf619365d5088e7d03795d9c3072d89aeaf52 /graphics
parentf872e41c447f5bdbf3aa58803e674c0af3a01db3 (diff)
downloadfreebsd-ports-gnome-8750fcc39557e469cd4a1f2b24db01da28fb9bad.tar.gz
freebsd-ports-gnome-8750fcc39557e469cd4a1f2b24db01da28fb9bad.tar.zst
freebsd-ports-gnome-8750fcc39557e469cd4a1f2b24db01da28fb9bad.zip
Use -rpath for linking so that ldconfiguring graphviz-local shared libs
is not required.
Diffstat (limited to 'graphics')
-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