aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-12-01 23:02:43 +0800
committerdinoex <dinoex@FreeBSD.org>2013-12-01 23:02:43 +0800
commitf473845e39a911dfb954fe039a72cc96454e1509 (patch)
tree0dc83c64fddb65b04739015da6ea1ad024f2bb0b
parent3c2f4ec10665210c5fc2f8b68d40bf1c43613a32 (diff)
downloadfreebsd-ports-gnome-f473845e39a911dfb954fe039a72cc96454e1509.tar.gz
freebsd-ports-gnome-f473845e39a911dfb954fe039a72cc96454e1509.tar.zst
freebsd-ports-gnome-f473845e39a911dfb954fe039a72cc96454e1509.zip
- drop linker path to stagedir
-rw-r--r--graphics/ruby-gd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 8b6e3dd65fc7..9ca1ed88a5d8 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -65,6 +65,11 @@ post-patch:
${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${LOCALBASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb
${RUBY} -i -pe 'sub %r:%%GD%%:, "gd"' ${WRKSRC}/extconf.rb
+post-configure:
+ ${REINPLACE_CMD} -e 's|^V = 0|V = 1|' \
+ -e 's|^libdir = .*|libdir = ${PREFIX}/lib|' \
+ ${WRKSRC}/Makefile
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja