From beec472547d68e5f70dad20902ea436fc5d1648d Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 6 May 2014 13:36:59 +0000 Subject: [PATCH] sysutils/moreutils: Fix DF breakage caused by addition of ifdata support The previous commit was FreeBSD-specific and it caused moreutils to break on DragonFly. Use __${OPSYS}__ instead of __FreeBSD__ for the substition to generically support both platforms. (Blanket) --- sysutils/moreutils/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysutils/moreutils/Makefile b/sysutils/moreutils/Makefile index f15e9f4cf852..9b0d3c385df0 100644 --- a/sysutils/moreutils/Makefile +++ b/sysutils/moreutils/Makefile @@ -41,7 +41,7 @@ PERL_MANPAGES= chronic.1 \ SHEBANG_FILES= ${PERL_MANPAGES:R} post-patch: - @${REINPLACE_CMD} -e 's|__APPLE__|__FreeBSD__|' ${WRKSRC}/ifdata.c + @${REINPLACE_CMD} -e 's|__APPLE__|__${OPSYS}__|' ${WRKSRC}/ifdata.c @cd ${FILESDIR}/ && ${CP} ${CANNED_MANPAGES} ${WRKSRC}/ post-build: