summaryrefslogtreecommitdiff
path: root/games/taxipilot
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-25 17:59:42 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-25 17:59:42 +0000
commit07acee00aaa579cbe9b771fddbcb8cf12b576e5e (patch)
tree2b8773e20e14160c71b724b5c57eae750935de7b /games/taxipilot
parent- Update to version 2.5 (diff)
- Fix build
PR: 60565 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=96582
Diffstat (limited to 'games/taxipilot')
-rw-r--r--games/taxipilot/Makefile16
-rw-r--r--games/taxipilot/files/patch-acinclude.m411
2 files changed, 10 insertions, 17 deletions
diff --git a/games/taxipilot/Makefile b/games/taxipilot/Makefile
index 91ef8e00d1f2..a83b5648c02d 100644
--- a/games/taxipilot/Makefile
+++ b/games/taxipilot/Makefile
@@ -16,15 +16,19 @@ COMMENT= A Spacetaxi clone
LIB_DEPENDS= noatun.0:${PORTSDIR}/multimedia/kdemultimedia3
USE_KDELIBS_VER= 3
-USE_AUTOMAKE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
+USE_AUTOCONF_VER= 253
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's| -pedantic||g ; \
+ s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/aclocal.m4
+pre-configure:
+ @cd ${WRKSRC} && ${AUTOHEADER}
+
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>
diff --git a/games/taxipilot/files/patch-acinclude.m4 b/games/taxipilot/files/patch-acinclude.m4
deleted file mode 100644
index fb1332479bbd..000000000000
--- a/games/taxipilot/files/patch-acinclude.m4
+++ /dev/null
@@ -1,11 +0,0 @@
---- admin/acinclude.m4.in.orig Thu Nov 20 19:35:08 2003
-+++ admin/acinclude.m4.in Thu Nov 20 19:35:27 2003
-@@ -2937,7 +2937,7 @@
- AC_REQUIRE([AC_FUNC_ALLOCA])dnl
- AC_REQUIRE([AC_FUNC_MMAP])dnl
- AC_REQUIRE([AM_KDE_WITH_NLS])dnl
-- AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h string.h values.h alloca.h])
-+ AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h string.h values.h alloca.h stdint.h])
- AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \
- __argz_count __argz_stringify __argz_next])
-