From b3eaac16d9d3e7dd232308127eb5799f815ef821 Mon Sep 17 00:00:00 2001 From: ade Date: Wed, 22 Dec 2010 20:05:49 +0000 Subject: Sync to final (for now) bsd.autotools.mk --- games/spacejunk/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games/spacejunk') diff --git a/games/spacejunk/Makefile b/games/spacejunk/Makefile index 4325be8475b2..fd5e2e5a530a 100644 --- a/games/spacejunk/Makefile +++ b/games/spacejunk/Makefile @@ -40,12 +40,16 @@ DESKTOP_ENTRIES= "Spacejunk" \ BROKEN= Doesn't compile on sparc64" .endif +AUTOTOOLSFILES= aclocal.m4 + post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/gem-uta.c \ ${WRKSRC}/libinfo/gem-uta.c @${REINPLACE_CMD} -e 's|data/|${DATADIR}/&|' ${WRKSRC}/src/*.c* @${RM} -f ${WRKSRC}/config.guess - @${REINPLACE_CMD} -e 's|1.10.1|1.11.1|' ${WRKSRC}/aclocal.m4 + @${REINPLACE_CMD} -e 's|1.10.1|%%AUTOMAKE_APIVER%%|g' \ + -e 's|1.10|%%AUTOMAKE_VERSION%%|g' \ + ${WRKSRC}/aclocal.m4 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/spacejunk ${PREFIX}/libexec/ -- cgit