svn commit: r335388 - head/graphics/ruby-gd

Dirk Meyer dinoex at FreeBSD.org
Sun Dec 1 15:02:44 UTC 2013


Author: dinoex
Date: Sun Dec  1 15:02:43 2013
New Revision: 335388
URL: http://svnweb.freebsd.org/changeset/ports/335388

Log:
  - drop linker path to stagedir

Modified:
  head/graphics/ruby-gd/Makefile

Modified: head/graphics/ruby-gd/Makefile
==============================================================================
--- head/graphics/ruby-gd/Makefile	Sun Dec  1 15:02:40 2013	(r335387)
+++ head/graphics/ruby-gd/Makefile	Sun Dec  1 15:02:43 2013	(r335388)
@@ -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


More information about the svn-ports-all mailing list