aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-04-02 17:58:53 +0800
committerdinoex <dinoex@FreeBSD.org>2008-04-02 17:58:53 +0800
commitc5312342476db3dcab981436ca410abe18e596f6 (patch)
treeb3bbe160c915bd8649647d3ee701029949e06668 /graphics
parent6ecae4f6a8c9c6620f056726999a851d79f09187 (diff)
downloadfreebsd-ports-graphics-c5312342476db3dcab981436ca410abe18e596f6.tar.gz
freebsd-ports-graphics-c5312342476db3dcab981436ca410abe18e596f6.tar.zst
freebsd-ports-graphics-c5312342476db3dcab981436ca410abe18e596f6.zip
- fix installation of perl module
PR: 122268
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/Makefile1
-rw-r--r--graphics/graphviz/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 3a1ae17f166..02fbc008ee8 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -391,6 +391,7 @@ pre-patch:
${XARGS} ${REINPLACE_CMD} \
-e 's|libdir=@libdir@|libdir=@libdir@/@PACKAGE@|';
@${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \
+ -e "s|vendorarch|installsitearch|g" \
-e "s|-lruby|-lruby${RUBY_SUFFIX}|g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \
${WRKSRC}/cmd/smyrna/tvnodes.h
diff --git a/graphics/graphviz/pkg-plist b/graphics/graphviz/pkg-plist
index 56d8b036672..9a7d27e4c8c 100644
--- a/graphics/graphviz/pkg-plist
+++ b/graphics/graphviz/pkg-plist
@@ -172,6 +172,8 @@ lib/graphviz/libgvplugin_neato_layout.a
%%WITH_PERL%%lib/graphviz/perl/libgv_perl.a
%%WITH_PERL%%lib/graphviz/perl/libgv_perl.la
%%WITH_PERL%%lib/graphviz/perl/libgv_perl.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/gv.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/gv.so
%%WITH_PYTHON%%lib/graphviz/python/_gv.so
%%WITH_PYTHON%%lib/graphviz/python/gv.py
%%WITH_PYTHON%%lib/graphviz/python/libgv_python.a