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:
parent
572e5d29a0
commit
beec472547
@ -41,7 +41,7 @@ PERL_MANPAGES= chronic.1 \
|
|||||||
SHEBANG_FILES= ${PERL_MANPAGES:R}
|
SHEBANG_FILES= ${PERL_MANPAGES:R}
|
||||||
|
|
||||||
post-patch:
|
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}/
|
@cd ${FILESDIR}/ && ${CP} ${CANNED_MANPAGES} ${WRKSRC}/
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user