svn commit: r353094 - head/sysutils/moreutils

John Marino marino at FreeBSD.org
Tue May 6 13:36:59 UTC 2014


Author: marino
Date: Tue May  6 13:36:59 2014
New Revision: 353094
URL: http://svnweb.freebsd.org/changeset/ports/353094
QAT: https://qat.redports.org/buildarchive/r353094/

Log:
  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)

Modified:
  head/sysutils/moreutils/Makefile

Modified: head/sysutils/moreutils/Makefile
==============================================================================
--- head/sysutils/moreutils/Makefile	Tue May  6 13:35:20 2014	(r353093)
+++ head/sysutils/moreutils/Makefile	Tue May  6 13:36:59 2014	(r353094)
@@ -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:


More information about the svn-ports-all mailing list