svn commit: r369235 - in head/games/tuxracer: . files
Tijl Coosemans
tijl at FreeBSD.org
Thu Sep 25 11:03:21 UTC 2014
Author: tijl
Date: Thu Sep 25 11:03:20 2014
New Revision: 369235
URL: http://svnweb.freebsd.org/changeset/ports/369235
QAT: https://qat.redports.org/buildarchive/r369235/
Log:
Patch configure instead of configure.in to avoid USE_AUTOTOOLS
Added:
head/games/tuxracer/files/patch-configure (contents, props changed)
Deleted:
head/games/tuxracer/files/patch-configure.in
Modified:
head/games/tuxracer/Makefile
Modified: head/games/tuxracer/Makefile
==============================================================================
--- head/games/tuxracer/Makefile Thu Sep 25 10:58:30 2014 (r369234)
+++ head/games/tuxracer/Makefile Thu Sep 25 11:03:20 2014 (r369235)
@@ -17,19 +17,14 @@ USE_SDL= mixer sdl
USE_GL= gl
USE_XORG= x11 xt xmu xi
USES= gmake tk
-USE_AUTOTOOLS= automake14 autoconf
-AUTOMAKE_ARGS= -a
-CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}"
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \
--with-tcl-libs="${LOCALBASE}/lib" \
--with-tcl-lib-name=tcl${TCL_VER:S/.//} \
--with-gl-libs="${LOCALBASE}/lib" \
--with-gl-inc="${LOCALBASE}/include" \
--with-data-dir=${DATADIR}
-MAKE_ENV= ${CONFIGURE_ENV}
-
-post-extract:
- @${RM} ${WRKSRC}/missing
+CPPFLAGS+= -DGLX_GLXEXT_LEGACY
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
Added: head/games/tuxracer/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tuxracer/files/patch-configure Thu Sep 25 11:03:20 2014 (r369235)
@@ -0,0 +1,21 @@
+--- configure.orig 2001-01-23 21:12:19.000000000 +0100
++++ configure 2014-09-25 11:41:47.000000000 +0200
+@@ -1795,16 +1795,10 @@
+
+
+ TR_CPPFLAGS=""
+-TR_CFLAGS="-O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations"
+-TR_CXXFLAGS="-O2 -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations"
++TR_CFLAGS=""
++TR_CXXFLAGS=""
+ TR_LIBS=""
+
+-case "$host" in
+-i*86-*-*) TR_CFLAGS="$TR_CFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2";
+- TR_CXXFLAGS="$TR_CXXFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2";;
+-alpha*-*-linux-*) TR_CFLAGS="$TR_CFLAGS -mieee";;
+-esac
+-
+ # Check whether --enable-debug or --disable-debug was given.
+ if test "${enable_debug+set}" = set; then
+ enableval="$enable_debug"
More information about the svn-ports-head
mailing list