aboutsummaryrefslogtreecommitdiff
path: root/games/spacejunk
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2010-12-22 20:05:49 +0000
committerAde Lovett <ade@FreeBSD.org>2010-12-22 20:05:49 +0000
commit843f8123d49e579e80de26ff1dd62c8c1acf3fac (patch)
treec7ef29d508548833364cb92d3bd5bcf810816e88 /games/spacejunk
parent55d09a7758330e40bc25cb90b27b1ae9b034af02 (diff)
downloadports-843f8123d49e579e80de26ff1dd62c8c1acf3fac.tar.gz
ports-843f8123d49e579e80de26ff1dd62c8c1acf3fac.zip
Sync to final (for now) bsd.autotools.mk
Notes
Notes: svn path=/head/; revision=266737
Diffstat (limited to 'games/spacejunk')
-rw-r--r--games/spacejunk/Makefile6
1 files changed, 5 insertions, 1 deletions
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/