1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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)
This commit is contained in:
John Marino 2014-05-06 13:36:59 +00:00
parent 572e5d29a0
commit beec472547
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353094

View File

@ -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: