aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Chart-Graph
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-Chart-Graph')
-rw-r--r--graphics/p5-Chart-Graph/Makefile2
-rw-r--r--graphics/p5-Chart-Graph/files/patch-Makefile.PL2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/p5-Chart-Graph/Makefile b/graphics/p5-Chart-Graph/Makefile
index c0bb1945aca8..5954c6e37413 100644
--- a/graphics/p5-Chart-Graph/Makefile
+++ b/graphics/p5-Chart-Graph/Makefile
@@ -29,6 +29,6 @@ MAN3= Chart::Graph.3 \
Chart::Graph::Xrt3d.3
post-patch:
- @${REINPLACE_CMD} -e "s,%%X11BASE%%,${X11BASE}," ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
diff --git a/graphics/p5-Chart-Graph/files/patch-Makefile.PL b/graphics/p5-Chart-Graph/files/patch-Makefile.PL
index c2ddf94ff870..b9dfda99cf44 100644
--- a/graphics/p5-Chart-Graph/files/patch-Makefile.PL
+++ b/graphics/p5-Chart-Graph/files/patch-Makefile.PL
@@ -19,7 +19,7 @@
if (not defined $xvfb and ($_ eq "xrt2d" or $_ eq "xrt3d" or $_ eq "xmgrace")) {
print "Enter path to X virtual frame buffer(Xvfb): ";
- $xvfb = <STDIN>;
-+ $xvfb = "%%X11BASE%%/bin/Xvfb";
++ $xvfb = "%%LOCALBASE%%/bin/Xvfb";
chop $xvfb;
@xvfb = $xvfb;
}