diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-12 20:30:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-12 20:30:53 +0800 |
commit | cee845df5399fe64ff999e6eae85695d1c054118 (patch) | |
tree | 7a857fd21221b736683ca46845182c5bf40410d0 /devel | |
parent | bd910e30800b0157ce848950928339efa5f9f5a6 (diff) | |
download | freebsd-ports-gnome-cee845df5399fe64ff999e6eae85695d1c054118.tar.gz freebsd-ports-gnome-cee845df5399fe64ff999e6eae85695d1c054118.tar.zst freebsd-ports-gnome-cee845df5399fe64ff999e6eae85695d1c054118.zip |
- Check OPSYS along with OSVERSION
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sfio/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/sfio/Makefile b/devel/sfio/Makefile index 15617b790400..6e4f32c6e84e 100644 --- a/devel/sfio/Makefile +++ b/devel/sfio/Makefile @@ -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 |