aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-opengl/Makefile5
-rw-r--r--graphics/ruby-opengl/distinfo2
2 files changed, 6 insertions, 1 deletions
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile
index 70e528111520..b639e298cb5d 100644
--- a/graphics/ruby-opengl/Makefile
+++ b/graphics/ruby-opengl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opengl
PORTVERSION= 0.32
+PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://www2.giganet.net/~yoshi/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -25,6 +26,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS= --with-ruby-dir="${LOCALBASE}" --with-x11-dir="${X11BASE}"
INSTALL_TARGET= site-install
+post-patch:
+ ${RUBY} -i -pe 'sub %r| -I/usr/X11R6/include|, ""' \
+ -e 'sub %r| -L/usr/X11R6/lib|, ""' ${WRKSRC}/${RUBY_EXTCONF}
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
diff --git a/graphics/ruby-opengl/distinfo b/graphics/ruby-opengl/distinfo
index 58760af7a987..d61c61c415f5 100644
--- a/graphics/ruby-opengl/distinfo
+++ b/graphics/ruby-opengl/distinfo
@@ -1 +1 @@
-MD5 (ruby/rbogl-0.32.tgz) = edb446c6fd7d3609d64e85c1879e46ae
+MD5 (ruby/rbogl-0.32.tgz) = b27144678c21eb884b3c08dd3d8f883d