svn commit: r426826 - in head/net: ntp ntp-devel

Craig Leres leres at ee.lbl.gov
Sat Dec 10 02:51:56 UTC 2016


Attached is a hack^H^H^H^Hpatch that at least allows building the
ntp-4.2.8p9_1 package under FreeBSD 9.

		Craig
-------------- next part --------------
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_DEPENDENCIES)
+ 	$(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
+ 
+ ###
+ 


More information about the svn-ports-all mailing list