diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-05-21 03:10:27 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-05-21 03:10:27 +0000 |
commit | 84a57e36a6249cdf65d0d12460c26cbd3e13c56f (patch) | |
tree | 46ac62ea7118120a9a8ecc76993c52ccd64260ce /devel/fastcrc/Makefile | |
parent | f44139e04730a3b05154ab0efbc66692122a864d (diff) | |
download | ports-84a57e36a6249cdf65d0d12460c26cbd3e13c56f.tar.gz ports-84a57e36a6249cdf65d0d12460c26cbd3e13c56f.zip |
- Fix build on 9-stable
- Support NOPORTDOCS
PR: 168027
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=297078
Diffstat (limited to 'devel/fastcrc/Makefile')
-rw-r--r-- | devel/fastcrc/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/devel/fastcrc/Makefile b/devel/fastcrc/Makefile index dee5d7b4c0dc..34f5e0ff1220 100644 --- a/devel/fastcrc/Makefile +++ b/devel/fastcrc/Makefile @@ -19,18 +19,19 @@ ONLY_FOR_ARCHS= i386 USE_LDCONFIG= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 900035 -BROKEN= Does not compile on recent FreeBSD-9 -.endif +post-patch: + @${REINPLACE_CMD} -e \ + 's|gcc|$${CC}| ; \ + /strip/d' ${WRKSRC}/Makefile do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${PREFIX}/lib ${LN} -fs ${PREFIX}/lib/libfcrc.so.1 ${PREFIX}/lib/libfcrc.so - ${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${PREFIX}/include - ${MKDIR} ${PREFIX}/share/doc/fastcrc - ${INSTALL_MAN} ${WRKSRC}/index.html ${PREFIX}/share/doc/fastcrc - ${INSTALL_PROGRAM} ${WRKSRC}/fc ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR} +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |