diff options
-rw-r--r-- | sysutils/dwatch-gource/Makefile | 6 | ||||
-rw-r--r-- | sysutils/dwatch-pwsnoop/Makefile | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/dwatch-gource/Makefile b/sysutils/dwatch-gource/Makefile index 87cef0018b2b..e67e8d0e1f37 100644 --- a/sysutils/dwatch-gource/Makefile +++ b/sysutils/dwatch-gource/Makefile @@ -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 diff --git a/sysutils/dwatch-pwsnoop/Makefile b/sysutils/dwatch-pwsnoop/Makefile index 08faa92adf6b..83bb8b281890 100644 --- a/sysutils/dwatch-pwsnoop/Makefile +++ b/sysutils/dwatch-pwsnoop/Makefile @@ -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 |