mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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:
parent
572e5d29a0
commit
beec472547
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353094
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue