aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-ming
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-12-27 18:38:22 +0800
committerknu <knu@FreeBSD.org>2002-12-27 18:38:22 +0800
commit1428b6e42074becccf1942ebe99d90f69c97a33a (patch)
tree6fb78fbfd051fc0eeea4b99599fac1a8749048fb /graphics/ruby-ming
parente48850e82ad1dc187e3d15edf30a3c40c596d9e2 (diff)
downloadfreebsd-ports-gnome-1428b6e42074becccf1942ebe99d90f69c97a33a.tar.gz
freebsd-ports-gnome-1428b6e42074becccf1942ebe99d90f69c97a33a.tar.zst
freebsd-ports-gnome-1428b6e42074becccf1942ebe99d90f69c97a33a.zip
Fix the build by creating a needed source file manually.
Reported by: kris
Diffstat (limited to 'graphics/ruby-ming')
-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)