aboutsummaryrefslogtreecommitdiff
path: root/biology/povchem
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-04-07 15:39:34 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-04-07 15:39:34 +0000
commit98c7bd4779c7b553ba1656d1855ad63faf4b7189 (patch)
tree22e291b9ac2e49c5141de1a7aaf14414c5676e18 /biology/povchem
parent2a518af80f114a56e28ccf636cf9fc8af16fe447 (diff)
downloadports-98c7bd4779c7b553ba1656d1855ad63faf4b7189.tar.gz
ports-98c7bd4779c7b553ba1656d1855ad63faf4b7189.zip
Notes
Diffstat (limited to 'biology/povchem')
-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