svn commit: r427038 - head/net/ntp

Cy Schubert cy at FreeBSD.org
Thu Nov 24 16:01:52 UTC 2016


Author: cy
Date: Thu Nov 24 16:01:51 2016
New Revision: 427038
URL: https://svnweb.freebsd.org/changeset/ports/427038

Log:
  Unbreak Makefile, set up appropriate support for BROKEN.
  
  As suggested by koobs, describe error in BROKEN=.

Modified:
  head/net/ntp/Makefile

Modified: head/net/ntp/Makefile
==============================================================================
--- head/net/ntp/Makefile	Thu Nov 24 15:54:53 2016	(r427037)
+++ head/net/ntp/Makefile	Thu Nov 24 16:01:51 2016	(r427038)
@@ -13,10 +13,6 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:S/P/
 MAINTAINER=	cy at FreeBSD.org
 COMMENT=	The Network Time Protocol Distribution
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-BROKEN=		Does not build under FreeBSD-9
-.endif
-
 BUILD_DEPENDS=	autogen:devel/autogen
 LIB_DEPENDS=	libevent.so:devel/libevent2 \
 		libmd5.so:www/libwww
@@ -68,6 +64,12 @@ THREADS_CONFIGURE_WITH=		threads
 ${D}_CONFIGURE_ON=	--enable-${D}
 .endfor
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+BROKEN=		Does not build under FreeBSD-9, aclocal not found
+.endif
+
 # XXX Temporary hack. Remember to remove this next commit.
 post-extract:
 	@${TOUCH} ${WRKSRC}/scripts/build/checkHtmlFileDates
@@ -81,4 +83,4 @@ post-install:
 	@cd ${WRKSRC}/html && ${FIND} . -print | \
 		${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list