aboutsummaryrefslogtreecommitdiffstats
path: root/games/spacejunk
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2010-12-23 04:05:49 +0800
committerade <ade@FreeBSD.org>2010-12-23 04:05:49 +0800
commitb3eaac16d9d3e7dd232308127eb5799f815ef821 (patch)
treec68d1b2f0ef56bab6c4f255c67470c55cf424f79 /games/spacejunk
parent7ff69e2f85702b7c6b49ce09c3f75364c4e21f85 (diff)
downloadfreebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.tar.gz
freebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.tar.zst
freebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.zip
Sync to final (for now) bsd.autotools.mk
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/