mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
After patching, remove the carriage-return characters from povchem.c
because they because they choke GCC 2.95.4. noticed by: kris
This commit is contained in:
parent
2a518af80f
commit
98c7bd4779
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106426
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user