diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2004-04-07 15:39:34 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2004-04-07 15:39:34 +0000 |
commit | 98c7bd4779c7b553ba1656d1855ad63faf4b7189 (patch) | |
tree | 22e291b9ac2e49c5141de1a7aaf14414c5676e18 /biology | |
parent | Add missing BUILD_DEPENDS on kdesdk3. (diff) |
After patching, remove the carriage-return characters from povchem.c
because they because they choke GCC 2.95.4.
noticed by: kris
Notes
Notes:
svn path=/head/; revision=106426
Diffstat (limited to 'biology')
-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 87b6329d66a7..bfcc9a1ddfae 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 |