aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-ming/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-12-27 10:38:22 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-12-27 10:38:22 +0000
commit50e2611b3644e72c4b477f3e5785da94002e7ed8 (patch)
tree4e7ba36e937de9087d60d4841629abbdd7f181a9 /graphics/ruby-ming/Makefile
parentaa89b59f3960fd20c1a24ecdbfd99f9841fb0a53 (diff)
downloadports-50e2611b3644e72c4b477f3e5785da94002e7ed8.tar.gz
ports-50e2611b3644e72c4b477f3e5785da94002e7ed8.zip
Fix the build by creating a needed source file manually.
Reported by: kris
Notes
Notes: svn path=/head/; revision=71917
Diffstat (limited to 'graphics/ruby-ming/Makefile')
-rw-r--r--graphics/ruby-ming/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile
index 4cc505cb2a0f..aa2d650bf961 100644
--- a/graphics/ruby-ming/Makefile
+++ b/graphics/ruby-ming/Makefile
@@ -39,6 +39,11 @@ do-extract:
post-extract:
${LN} -sf ../ming.i ${WRKSRC}/
+pre-configure:
+ cd ${WRKSRC}; \
+ ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} depend SWIG="${SWIG}" ming_wrap.c; \
+ ${RM} -f depend
+
post-install:
${INSTALL_DATA} ${WRKSRC}/ming.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)