1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use -rpath for linking so that ldconfiguring graphviz-local shared libs

is not required.
This commit is contained in:
Volker Stolz 2005-11-03 08:17:25 +00:00
parent 2969c8fe5e
commit 0861192de6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147089
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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