aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/smartmontools-devel/Makefile8
-rw-r--r--sysutils/smartmontools/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/smartmontools-devel/Makefile b/sysutils/smartmontools-devel/Makefile
index 2699e4972ce..6ee7a6cb96a 100644
--- a/sysutils/smartmontools-devel/Makefile
+++ b/sysutils/smartmontools-devel/Makefile
@@ -43,10 +43,10 @@ do-install:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 501112
-pre-everything:
- @${ECHO} "WARNING: In order to support monitoring of ATA devices,"
- @${ECHO} "${PORTNAME} requires 5.1-CURRENT (__FreeBSD_version 501112)."
+.if ${OSVERSION} < 501105
+pre-everything::
+ @${ECHO_MSG} "WARNING: ATAng is required to support monitoring of ATA devices,"
+ @${ECHO_MSG} "ATAng is available in 5.1-CURRENT (__FreeBSD_version > 501105)."
.endif
post-install:
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index 2699e4972ce..6ee7a6cb96a 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -43,10 +43,10 @@ do-install:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 501112
-pre-everything:
- @${ECHO} "WARNING: In order to support monitoring of ATA devices,"
- @${ECHO} "${PORTNAME} requires 5.1-CURRENT (__FreeBSD_version 501112)."
+.if ${OSVERSION} < 501105
+pre-everything::
+ @${ECHO_MSG} "WARNING: ATAng is required to support monitoring of ATA devices,"
+ @${ECHO_MSG} "ATAng is available in 5.1-CURRENT (__FreeBSD_version > 501105)."
.endif
post-install: