aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rdate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rdate/Makefile')
-rw-r--r--sysutils/rdate/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/rdate/Makefile b/sysutils/rdate/Makefile
index c7220c26c669..128ec078cbb8 100644
--- a/sysutils/rdate/Makefile
+++ b/sysutils/rdate/Makefile
@@ -18,7 +18,7 @@ PLIST_FILES= sbin/rdate man/man8/${PORTNAME}.8.gz
post-patch:
${REINPLACE_CMD} -e 's,/right,,' ${WRKSRC}/rdate.8
-.if ${OPSYS} == DragonFly || ${OSVERSION} < 1100072
+.if ${OPSYS} == DragonFly
${REINPLACE_CMD} -e '/^SRCS/s/$$/ reallocarray.c/' ${WRKSRC}/Makefile
${ECHO} 'void *reallocarray(void *optr, size_t nmemb, size_t size);' \
>> ${WRKSRC}/ntpleaps.h