svn commit: r471295 - in head/sysutils: dwatch-gource dwatch-pwsnoop
Devin Teske
dteske at FreeBSD.org
Fri Jun 1 21:25:07 UTC 2018
Author: dteske
Date: Fri Jun 1 21:25:06 2018
New Revision: 471295
URL: https://svnweb.freebsd.org/changeset/ports/471295
Log:
sysutils/dwatch-*: IGNORE if missing FreeBSD dwatch(1)
sysutils/dwatch-{gource,pwsnoop} require dwatch(1) in FreeBSD base.
Reviewed by: mat (mentor)
Approved by: mat (mentor)
Sponsored by: Smule, Inc.
Differential Revision: https://reviews.freebsd.org/D15621
Modified:
head/sysutils/dwatch-gource/Makefile
head/sysutils/dwatch-pwsnoop/Makefile
Modified: head/sysutils/dwatch-gource/Makefile
==============================================================================
--- head/sysutils/dwatch-gource/Makefile Fri Jun 1 20:58:04 2018 (r471294)
+++ head/sysutils/dwatch-gource/Makefile Fri Jun 1 21:25:06 2018 (r471295)
@@ -19,6 +19,12 @@ PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
+IGNORE= requires dwatch available in recent FreeBSD 11 or 12
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gwatch ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch
Modified: head/sysutils/dwatch-pwsnoop/Makefile
==============================================================================
--- head/sysutils/dwatch-pwsnoop/Makefile Fri Jun 1 20:58:04 2018 (r471294)
+++ head/sysutils/dwatch-pwsnoop/Makefile Fri Jun 1 21:25:06 2018 (r471295)
@@ -20,6 +20,12 @@ PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
+IGNORE= requires dwatch available in recent FreeBSD 11 or 12
+.endif
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch
${INSTALL_DATA} ${WRKSRC}/pwsnoop ${STAGEDIR}${PREFIX}/libexec/dwatch
More information about the svn-ports-all
mailing list