Skip to content

Commit

Permalink
Added FreeBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikobordx committed Jul 5, 2011
1 parent 34e98c8 commit e83c4fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Expand Up @@ -45,7 +45,13 @@ prepare_bootstrap:
@echo "Preparing boostrap (in build/ directory)"
rm -rf build/
${OOC} -driver=make -sourcepath=source -outpath=c-source rock/rock -o=../bin/c_rock c-source/${NQ_PATH} -v -g +-w
ifeq ($(shell uname -s), FreeBSD)
sed s/-w.*/-w\ -DROCK_BUILD_DATE=\\\"\\\\\"bootstrapped\\\\\"\\\"\ -DROCK_BUILD_TIME=\\\"\\\\\"\\\\\"\\\"/ build/Makefile > build/Makefile.tmp
rm build/Makefile
mv build/Makefile.tmp build/Makefile
else
sed s/-w.*/-w\ -DROCK_BUILD_DATE=\\\"\\\\\"bootstrapped\\\\\"\\\"\ -DROCK_BUILD_TIME=\\\"\\\\\"\\\\\"\\\"/ -i build/Makefile
endif
cp ${NQ_PATH} build/c-source/${NQ_PATH}
@echo "Done!"

Expand Down

0 comments on commit e83c4fe

Please sign in to comment.