Date: Fri, 09 Dec 2016 22:08:44 -0800 From: Cy Schubert <Cy.Schubert@komquats.com> To: Craig Leres <leres@ee.lbl.gov> Cc: Cy Schubert <Cy.Schubert@komquats.com>, Cy Schubert <cy@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, delphij@freebsd.org Subject: Re: svn commit: r426826 - in head/net: ntp ntp-devel Message-ID: <201612100608.uBA68inI014797@slippy.cwsent.com> In-Reply-To: Message from Craig Leres <leres@ee.lbl.gov> of "Fri, 09 Dec 2016 18:51:53 -0800." <69334306-1ff9-b1db-3144-f4c131ab3f1e@ee.lbl.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Craig. The patch will also apply to newer FreeBSD systems. We will need to rename it to extra-sntp-Makefile.in. My FreeBSD-9 system is booted -CURRENT for the next few weeks so I can't verify the patch. I'll commit it Saturday or Sunday (PST). -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message <69334306-1ff9-b1db-3144-f4c131ab3f1e@ee.lbl.gov>, Craig Leres write s: > This is a multi-part message in MIME format. > --------------FC1A2DA0CB1F276D6D0C7CC2 > Content-Type: text/plain; charset=windows-1252 > Content-Transfer-Encoding: 7bit > > Attached is a hack^H^H^H^Hpatch that at least allows building the > ntp-4.2.8p9_1 package under FreeBSD 9. > > Craig > > --------------FC1A2DA0CB1F276D6D0C7CC2 > Content-Type: text/plain; charset=UTF-8; > name="patch.txt" > Content-Transfer-Encoding: 7bit > Content-Disposition: attachment; > filename="patch.txt" > > Index: Makefile > =================================================================== > --- Makefile (revision 428174) > +++ Makefile (working copy) > @@ -67,7 +67,7 @@ > .include <bsd.port.pre.mk> > > .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 > -BROKEN= Does not build under FreeBSD-9, aclocal not found > +EXTRA_PATCHES+= patch-sntp_Makefile.in > .endif > > # XXX Temporary hack. Remember to remove this next commit. > Index: files/patch-sntp_Makefile.in > =================================================================== > --- /dev/null 2016-12-09 18:48:36.000000000 -0800 > +++ files/patch-sntp_Makefile.in 2016-12-09 18:45:57.962754763 -0800 > @@ -0,0 +1,45 @@ > +--- sntp/Makefile.in.orig 2016-12-10 02:39:46.167365000 +0000 > ++++ sntp/Makefile.in 2016-12-10 02:45:00.584485000 +0000 > +@@ -715,11 +715,11 @@ > + $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPE > NDENCIES) > + $(SHELL) ./config.status --recheck > + > +-$(top_srcdir)/configure: $(am__configure_deps) > +- $(am__cd) $(srcdir) && $(AUTOCONF) > +-$(ACLOCAL_M4): $(am__aclocal_m4_deps) > +- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) > +-$(am__aclocal_m4_deps): > ++#$(top_srcdir)/configure: $(am__configure_deps) > ++# $(am__cd) $(srcdir) && $(AUTOCONF) > ++#$(ACLOCAL_M4): $(am__aclocal_m4_deps) > ++# $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) > ++#$(am__aclocal_m4_deps): > + > + config.h: stamp-h1 > + @test -f $@ || rm -f stamp-h1 > +@@ -728,10 +728,10 @@ > + stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status > + @rm -f stamp-h1 > + cd $(top_builddir) && $(SHELL) ./config.status config.h > +-$(srcdir)/config.h.in: $(am__configure_deps) > +- ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) > +- rm -f stamp-h1 > +- touch $@ > ++#$(srcdir)/config.h.in: $(am__configure_deps) > ++# ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) > ++# rm -f stamp-h1 > ++# touch $@ > + > + distclean-hdr: > + -rm -f config.h stamp-h1 > +@@ -1569,8 +1569,8 @@ > + $(srcdir)/sntp-opts.h: $(srcdir)/sntp-opts.c > + @: do-nothing action to avoid default SCCS get, .h built with .c > + > +-$(srcdir)/sntp-opts.c: $(srcdir)/sntp-opts.def $(std_def_list) > +- $(run_ag) sntp-opts.def > ++#$(srcdir)/sntp-opts.c: $(srcdir)/sntp-opts.def $(std_def_list) > ++# $(run_ag) sntp-opts.def > + > + ### > + > > --------------FC1A2DA0CB1F276D6D0C7CC2-- >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612100608.uBA68inI014797>