summaryrefslogtreecommitdiff
path: root/sysutils/moreutils
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-06 13:36:59 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-06 13:36:59 +0000
commitbeec472547d68e5f70dad20902ea436fc5d1648d (patch)
tree5a7428f42ad5ded12f12560da783b6b2dd48c945 /sysutils/moreutils
parent- Update to 2.2.1 (diff)
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)
Notes
Notes: svn path=/head/; revision=353094
Diffstat (limited to 'sysutils/moreutils')
-rw-r--r--sysutils/moreutils/Makefile2
1 files changed, 1 insertions, 1 deletions
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: