Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 12:30:53 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431260 - head/devel/sfio
Message-ID:  <201701121230.v0CCUreC050706@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan 12 12:30:53 2017
New Revision: 431260
URL: https://svnweb.freebsd.org/changeset/ports/431260

Log:
  - Check OPSYS along with OSVERSION

Modified:
  head/devel/sfio/Makefile

Modified: head/devel/sfio/Makefile
==============================================================================
--- head/devel/sfio/Makefile	Thu Jan 12 12:30:01 2017	(r431259)
+++ head/devel/sfio/Makefile	Thu Jan 12 12:30:53 2017	(r431260)
@@ -23,9 +23,9 @@ post-extract:
 	@${MV} ${WRKSRC}/src/lib/sfio/Sfio_t/tmmap2read.c \
 		${WRKSRC}/src/lib/sfio/Sfio_t/.tmmap2read.c
 
-.if ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
 post-patch:
-	${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
+	@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
 		${WRKSRC}/src/lib/sfio/*.[ch]
 .endif
 
@@ -33,7 +33,7 @@ do-build:
 	@cd ${WRKSRC}/src/lib/sfio && ${MAKE} all -f makefile
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/include/sfio
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/sfio
 	${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/include/sfio
 	(cd ${WRKSRC}/lib && ${INSTALL_DATA} libsfio.a libstdio.a ${STAGEDIR}${PREFIX}/lib)
 	${INSTALL_MAN} ${WRKSRC}/man/man1/iffe.1 ${STAGEDIR}${PREFIX}/man/man1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701121230.v0CCUreC050706>