summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-27 17:14:23 +0000
committerknu <knu@FreeBSD.org>2002-11-27 17:14:23 +0000
commita73d9ee9a90d3ca67330c1aeccf6aeac37add65b (patch)
treed34ef87454baf566bb4ca1ae96622aaec4b31cfc
parent18ef3b708735412af9c4abfc4d1ff2308082f658 (diff)
downloadFreeBSD-ports-a73d9ee9a90d3ca67330c1aeccf6aeac37add65b.zip
FreeBSD-ports-a73d9ee9a90d3ca67330c1aeccf6aeac37add65b.tar.gz
Fix the build of lang/ruby_static-devel, i.e. the build of
archiver/ruby-zlib with lang/ruby-devel in the correct way. The cause of this problem is that FreeBSD's make(1) got a bit too sensitive about a mixture of `target:' and `target::'.
-rw-r--r--archivers/ruby-zlib/Makefile3
-rw-r--r--lang/ruby-devel/files/patch-mkmf.rb33
-rw-r--r--lang/ruby18/files/patch-mkmf.rb33
3 files changed, 3 insertions, 66 deletions
diff --git a/archivers/ruby-zlib/Makefile b/archivers/ruby-zlib/Makefile
index 2a33e87..e0b6726 100644
--- a/archivers/ruby-zlib/Makefile
+++ b/archivers/ruby-zlib/Makefile
@@ -23,6 +23,9 @@ INSTALL_TARGET= site-install
DOCS_EN= ChangeLog zlib.rd.en zlib.en.html
DOCS_JA= zlib.rd.ja zlib.ja.html
+post-extract:
+ ${RM} ${WRKSRC}/depend
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
diff --git a/lang/ruby-devel/files/patch-mkmf.rb b/lang/ruby-devel/files/patch-mkmf.rb
deleted file mode 100644
index d121d10..0000000
--- a/lang/ruby-devel/files/patch-mkmf.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: lib/mkmf.rb
-===================================================================
-RCS file: /src/ruby/lib/mkmf.rb,v
-retrieving revision 1.116
-diff -u -1 -r1.116 mkmf.rb
---- lib/mkmf.rb 14 Nov 2002 13:51:19 -0000 1.116
-+++ lib/mkmf.rb 22 Nov 2002 12:38:13 -0000
-@@ -688,7 +688,6 @@
- mfile.print %{
--all: $(DLLIB)
-+CLEANLIBS = "$(TARGET).{lib,exp,il?,tds,map}" $(DLLIB)
-+CLEANOBJS = "*.{#{$OBJEXT},#{$LIBEXT},s[ol],pdb,bak}"
-
--clean::
-- @$(RM) "$(TARGET).{lib,exp,il?,tds,map}" $(DLLIB)
-- @$(RM) "*.{#{$OBJEXT},#{$LIBEXT},s[ol],pdb,bak}"
-+all: $(DLLIB)
- }
-@@ -850,6 +849,6 @@
- CLEANINGS = "
--clean::
-- @$(RM) $(CLEANFILES)
-+clean:
-+ @$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
-
--distclean:: clean
-+distclean: clean
- @$(RM) Makefile extconf.h conftest.* mkmf.log
-@@ -857,3 +856,3 @@
-
--realclean:: distclean
-+realclean: distclean
- "
diff --git a/lang/ruby18/files/patch-mkmf.rb b/lang/ruby18/files/patch-mkmf.rb
deleted file mode 100644
index d121d10..0000000
--- a/lang/ruby18/files/patch-mkmf.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: lib/mkmf.rb
-===================================================================
-RCS file: /src/ruby/lib/mkmf.rb,v
-retrieving revision 1.116
-diff -u -1 -r1.116 mkmf.rb
---- lib/mkmf.rb 14 Nov 2002 13:51:19 -0000 1.116
-+++ lib/mkmf.rb 22 Nov 2002 12:38:13 -0000
-@@ -688,7 +688,6 @@
- mfile.print %{
--all: $(DLLIB)
-+CLEANLIBS = "$(TARGET).{lib,exp,il?,tds,map}" $(DLLIB)
-+CLEANOBJS = "*.{#{$OBJEXT},#{$LIBEXT},s[ol],pdb,bak}"
-
--clean::
-- @$(RM) "$(TARGET).{lib,exp,il?,tds,map}" $(DLLIB)
-- @$(RM) "*.{#{$OBJEXT},#{$LIBEXT},s[ol],pdb,bak}"
-+all: $(DLLIB)
- }
-@@ -850,6 +849,6 @@
- CLEANINGS = "
--clean::
-- @$(RM) $(CLEANFILES)
-+clean:
-+ @$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
-
--distclean:: clean
-+distclean: clean
- @$(RM) Makefile extconf.h conftest.* mkmf.log
-@@ -857,3 +856,3 @@
-
--realclean:: distclean
-+realclean: distclean
- "
OpenPOWER on IntegriCloud