aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-05-06 21:36:59 +0800
committermarino <marino@FreeBSD.org>2014-05-06 21:36:59 +0800
commitf39eb0383772f93c659e7b42e9a97c5aa7948714 (patch)
tree5a7428f42ad5ded12f12560da783b6b2dd48c945 /sysutils
parent4a23acb738a7e81f5c08128a30b4775736626d56 (diff)
downloadfreebsd-ports-gnome-f39eb0383772f93c659e7b42e9a97c5aa7948714.tar.gz
freebsd-ports-gnome-f39eb0383772f93c659e7b42e9a97c5aa7948714.tar.zst
freebsd-ports-gnome-f39eb0383772f93c659e7b42e9a97c5aa7948714.zip
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)
Diffstat (limited to 'sysutils')
-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: