aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-01-03 00:49:10 +0800
committermezz <mezz@FreeBSD.org>2007-01-03 00:49:10 +0800
commit8584bf85c77c11201a8ee2e1d5de2e102c08ea76 (patch)
treea58285aa9931f7de6599f3df2a7b78cf2c8b0b46 /x11
parent573a10b29196fce3d1348c2253af3b0296dbf945 (diff)
downloadfreebsd-ports-gnome-8584bf85c77c11201a8ee2e1d5de2e102c08ea76.tar.gz
freebsd-ports-gnome-8584bf85c77c11201a8ee2e1d5de2e102c08ea76.tar.zst
freebsd-ports-gnome-8584bf85c77c11201a8ee2e1d5de2e102c08ea76.zip
- No longer need to tweak RUBY_DOCDIR and RUBY_EXAMPLESDIR for PREFIX-cleaness,
which it was committed in bsd.ruby.mk recently. - Tweak a bit in general-patch.
Diffstat (limited to 'x11')
-rw-r--r--x11/ruby-gnome2/Makefile.common4
1 files changed, 1 insertions, 3 deletions
diff --git a/x11/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common
index 001163900579..594d00c334d5 100644
--- a/x11/ruby-gnome2/Makefile.common
+++ b/x11/ruby-gnome2/Makefile.common
@@ -12,8 +12,6 @@ RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2
RUBY_GNOME_DISTNAME= ruby-gnome2-all-${RUBY_GNOME_VERSION:S/r/rev/}
CONFIGURE_ARGS+= --ruby=${RUBY}
-RUBY_DOCDIR= ${PREFIX}/share/doc/${RUBY_NAME}
-RUBY_EXAMPLESDIR= ${PREFIX}/share/examples/${RUBY_NAME}
.if defined(RUBY_GNOME_SNAPSHOTDATE)
RUBY_GNOME_WRKSRC= ${WRKDIR}/ruby-gnome2-snapshot-${RUBY_GNOME_SNAPSHOTDATE}
@@ -26,4 +24,4 @@ MD5_FILE= ${RUBY_GNOME_PORTDIR}/distinfo
general-patch:
@${FIND} ${WRKDIR} -name mkmf-gnome2.rb | ${XARGS} ${REINPLACE_CMD} -e \
- 's|CFLAGS}|CFLAGS} -I${RUBY_SITEARCHLIBDIR}|g'
+ 's|CFLAGS}|CFLAGS} -I${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}|g'