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::'.
This commit is contained in:
Akinori MUSHA 2002-11-27 17:14:23 +00:00
parent 7d8784a668
commit be5a93f9f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71168
3 changed files with 3 additions and 66 deletions

View file

@ -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

View file

@ -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
"

View file

@ -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
"