aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
Diffstat (limited to 'biology')
-rw-r--r--biology/povchem/Makefile2
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