summaryrefslogtreecommitdiff
path: root/misc/astrolog
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-01-26 07:54:29 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-01-26 07:54:29 +0000
commit56666de09755fd060a0433499f7f1f550613a94c (patch)
treec4f847e765d2c0565e151ae3c0b642a8b60a101f /misc/astrolog
parentUnbreak on -current, and don't hardwire CC or CFLAGS (diff)
Fix build on -current
Notes
Notes: svn path=/head/; revision=53766
Diffstat (limited to 'misc/astrolog')
-rw-r--r--misc/astrolog/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index 92523e08ced2..74a7db5ed5a6 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -29,6 +29,10 @@ DIST_SUBDIR= astrolog
ALL_TARGET= astrolog
NO_WRKSUBDIR= yes
+pre-patch:
+ @${PERL} -pi.orig -e "s@malloc.h@stdlib.h@g" \
+ ${WRKSRC}/astrolog.h ${WRKSRC}/placalc.h
+
do-install:
-@${MKDIR} ${PREFIX}/lib/astrolog
cd ${DISTDIR}/${DIST_SUBDIR} && \