diff options
author | trevor <trevor@FreeBSD.org> | 2004-04-07 15:39:34 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-04-07 15:39:34 +0000 |
commit | 889d6dbaf8149f89d53f37d70307fa85ecfca1a6 (patch) | |
tree | 75a0df2793a5a764680c921152ccedc48cefc67e /biology/povchem/Makefile | |
parent | 4bfe10405f5e83fd27c98408185d1c657a410fa0 (diff) | |
download | FreeBSD-ports-889d6dbaf8149f89d53f37d70307fa85ecfca1a6.zip FreeBSD-ports-889d6dbaf8149f89d53f37d70307fa85ecfca1a6.tar.gz |
After patching, remove the carriage-return characters from povchem.c
because they because they choke GCC 2.95.4.
noticed by: kris
Diffstat (limited to 'biology/povchem/Makefile')
-rw-r--r-- | biology/povchem/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/biology/povchem/Makefile b/biology/povchem/Makefile index 87b6329..bfcc9a1 100644 --- a/biology/povchem/Makefile +++ b/biology/povchem/Makefile @@ -36,6 +36,8 @@ do-extract: post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/povchem.cfg + ${MV} ${WRKSRC}/povchem.c ${WRKSRC}/povchem.c.patched + strings -1 ${WRKSRC}/povchem.c.patched > ${WRKSRC}/povchem.c do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEFS} -o povchem povchem.c -lm |