aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2012-05-12 04:38:09 +0800
committerade <ade@FreeBSD.org>2012-05-12 04:38:09 +0800
commitec81fd924ccfa4a135be31e8f27887286828c2de (patch)
treec4bd2f8529e840fa116e09d1f68e442cc7f2ce0c /games
parent497d7e487cb4abc3d85b201fc1bd72c134effbd4 (diff)
downloadfreebsd-ports-gnome-ec81fd924ccfa4a135be31e8f27887286828c2de.tar.gz
freebsd-ports-gnome-ec81fd924ccfa4a135be31e8f27887286828c2de.tar.zst
freebsd-ports-gnome-ec81fd924ccfa4a135be31e8f27887286828c2de.zip
Update autoconf to 2.69 and automake to 1.12
PR: 166836 Tested by: Multiple -exp runs (pav)
Diffstat (limited to 'games')
-rw-r--r--games/kmastermind/Makefile8
-rw-r--r--games/kmastermind/files/kdelibs3-admin-cvs.sh12
-rw-r--r--games/mangos/files/patch-configure.ac6
-rw-r--r--games/py-poker-eval/Makefile3
4 files changed, 26 insertions, 3 deletions
diff --git a/games/kmastermind/Makefile b/games/kmastermind/Makefile
index f2756cb6533e..f63438226613 100644
--- a/games/kmastermind/Makefile
+++ b/games/kmastermind/Makefile
@@ -26,11 +26,13 @@ USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
pre-configure:
- ${LN} -sfh \
+ @${TOUCH} ${WRKSRC}/NEWS
+ @${LN} -sfh \
`cd ${PORTSDIR}/x11/kdelibs3 && ${MAKE} -V WRKSRC`/admin \
${WRKSRC}/admin
- ${TOUCH} ${WRKSRC}/NEWS
- @${REINPLACE_CMD} -e 's|1.10|${AUTOMAKE_VERSION}|' ${WRKSRC}/admin/cvs.sh
+ @${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/kdelibs3-admin-cvs.sh
+ @${REINPLACE_CMD} -e s,%%AUTOMAKE_VERSION%%,${AUTOMAKE_VERSION}, \
+ ${WRKSRC}/admin/cvs.sh
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} -f admin/Makefile.common cvs
.include <bsd.port.mk>
diff --git a/games/kmastermind/files/kdelibs3-admin-cvs.sh b/games/kmastermind/files/kdelibs3-admin-cvs.sh
new file mode 100644
index 000000000000..3bf1d023fc50
--- /dev/null
+++ b/games/kmastermind/files/kdelibs3-admin-cvs.sh
@@ -0,0 +1,12 @@
+--- admin/cvs.sh.orig 2008-08-19 13:28:39.000000000 -0700
++++ admin/cvs.sh 2012-04-24 10:46:19.000000000 -0700
+@@ -65,8 +65,3 @@
+ case $AUTOMAKE_STRING in
+- automake*1.5d* | automake*1.5* | automake*1.5-* )
+- echo "*** YOU'RE USING $AUTOMAKE_STRING."
+- echo "*** KDE requires automake $required_automake_version"
+- exit 1
+- ;;
+- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*)
++ automake*%%AUTOMAKE_VERSION%%*)
+ echo "*** $AUTOMAKE_STRING found."
diff --git a/games/mangos/files/patch-configure.ac b/games/mangos/files/patch-configure.ac
new file mode 100644
index 000000000000..3d2908ec9648
--- /dev/null
+++ b/games/mangos/files/patch-configure.ac
@@ -0,0 +1,6 @@
+--- configure.ac.orig 2008-01-27 20:52:47.000000000 -0800
++++ configure.ac 2012-05-03 17:02:50.000000000 -0700
+@@ -34,2 +34,3 @@
+ AC_PROG_CXX
++AM_PROG_AR
+ AC_PROG_LIBTOOL
diff --git a/games/py-poker-eval/Makefile b/games/py-poker-eval/Makefile
index 4f168dfabc80..03ffa1bdb440 100644
--- a/games/py-poker-eval/Makefile
+++ b/games/py-poker-eval/Makefile
@@ -30,6 +30,9 @@ MAKE_JOBS_SAFE= yes
PLIST_SUB= PYVER=${_PYTHON_VERSION:S/./_/}
+post-configure:
+ @${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/py-compile ${WRKSRC}/config
+
test:
@cd ${WRKSRC} && ${MAKE} check